LlParseString2List
De DigiWiki.
(Différences entre les versions)
Djphil (discuter | contributions)
(Page créée avec « <lsl> default { state_entry() { // This will say: // <A><crazy><fox><.><Saw><the><moon><.><.> string my_string = "A crazy fox. Saw the moon..… »)
(Page créée avec « <lsl> default { state_entry() { // This will say: // <A><crazy><fox><.><Saw><the><moon><.><.> string my_string = "A crazy fox. Saw the moon..… »)
Version actuelle en date du 25 août 2012 à 19:20
default { state_entry() { // This will say: // <A><crazy><fox><.><Saw><the><moon><.><.> string my_string = "A crazy fox. Saw the moon.."; list my_list = llParseString2List(my_string,[" "],["."]); llOwnerSay("<" + llDumpList2String(my_list,"><") + ">"); // This will say: // <A><crazy><fox><.><><><Saw><the><moon><.><><.><> my_list = llParseStringKeepNulls(my_string,[" "],["."]); llOwnerSay("<" + llDumpList2String(my_list,"><") + ">"); } }