Don't click here unless you want to be banned.

LSL Wiki : concatenate

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are


To concatenate, means to put together. In the context of LSL, concatenation applies to strings and lists - its how you fuse two strings or two lists together. It is done with the + operator.


To concatenate a list..
list a = ["Hello"];
list b = ["Goodbye"];
list ab = a + b; // ab is ["Hello", "Goodbye"]

Or a string..
string a = "Hello";
string b = "Goodbye";
string ab = a + b; // ab is "HelloGoodbye"

String | List
There is no comment on this page. [Display comments/form]