LlDumpList2String
De DigiWiki.
list mylist = ["a", "b", "c", "d"]; string tmp = llDumpList2String(mylist, "**"); //tmp now equals: "a**b**c**d"
list mylist = [<10,5,7>, 100, "c", "d"]; string tmp = llDumpList2String(mylist, "**"); //tmp now equals: "<10,5,7>**100**c**d"
default{ state_entry(){ list my_list = [1, 2.0, "a string", llGetOwner()]; llOwnerSay("<" + llDumpList2String(my_list,"><") + ">"); //says: "<1><2.000000><a string><a822ff2b-ff02-461d-b45d-dcd10a2de0c2>" } }
Instead of using llDumpList2String(myList, "") you may wish to consider using the more efficient (string)myList as it produces an identical result with less memory usage due to eliminating a function-call.