LSL Wiki Mirror 10-5-2006: concatenate

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::

Concatenate

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

Examples:
list a = ["Hello"];
list b = ["Goodbye"];
list ab = a + b; // ab is ["Hello", "Goodbye"]

string a = "Hello";
string b = "Goodbye";
string ab = a + b; // ab is "HelloGoodbye"
Why is the latter comment not orange?

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