I wanted to know how if possible I could add another line to a string, like as follows:
String = "BSIncorporated has
killed Bluemonkey132"
Just an example
I wanted to know how if possible I could add another line to a string, like as follows:
String = "BSIncorporated has
killed Bluemonkey132"
Just an example
String = "BSIncorporated has \n killed Bluemonkey132"
You can also use Brackets to do this as well.
Lua supports the following methods for creating string literals:
s = "Double quotation, \n Next Line"
s = 'Single quote, \n Next Line'
s = [[ Multi line
string, carries across editor new lines]]
s = [==[ You can also nest these like this, and [[ this won't]] end
The string]==]
s = [=====[As long as you match up the number of
= signs
between the brackets, it will work.]=====]
Wth is up with the points...
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Try ( )?