I wanted to know how if possible I could add another line to a string, like as follows:
1 | String = "BSIncorporated has |
2 | killed Bluemonkey 132 " |
Just an example
1 | String = "BSIncorporated has \n killed Bluemonkey132" |
Lua supports the following methods for creating string literals:
1 | s = "Double quotation, \n Next Line" |
2 | s = 'Single quote, \n Next Line' |
3 | s = [[ Multi line |
4 | string, carries across editor new lines]] |
5 | s = [==[ You can also nest these like this, and [[ this won't]] end |
6 | The string]==] |
7 | s = [ = = = = = [ As long as you match up the number of |
8 | = signs |
9 | between the brackets, it will work. ] = = = = = ] |
Locked by BSIncorporated, Redbullusa, and dyler3
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?