Difference between revisions of "User:Talia Tokugawa/scripts"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
Code Snippets:
Code Snippets:
*character replacement.
*character replacement.
**These two are for replacing \" in a string that is a preset string
**These two are for replacing escape characters in a string that is a not compiled with the script
<lsl> text=llDumpList2String(llParseString2List(text, ["\\\""],[]), "\""); </lsl>
<lsl> text=llDumpList2String(llParseString2List(text, ["\\\""],[]), "\""); </lsl>
<lsl> text=llDumpList2String(llParseString2List(text, ["\\\'"],[]), "\'"); </lsl>
<lsl> text=llDumpList2String(llParseString2List(text, ["\\\'"],[]), "\'"); </lsl>

Revision as of 20:32, 16 June 2008

Going to place some example scripts in here...

Code Snippets:

  • character replacement.
    • These two are for replacing escape characters in a string that is a not compiled with the script

<lsl> text=llDumpList2String(llParseString2List(text, ["\\\""],[]), "\""); </lsl> <lsl> text=llDumpList2String(llParseString2List(text, ["\\\'"],[]), "\'"); </lsl>