Talk:Notecard reading: Difference between revisions
Jump to navigation
Jump to search
m a way to avoid losing information |
(No difference)
|
Revision as of 13:27, 18 July 2008
A better way to handle this would be the following lines
list tmp = llParseStringKeepNulls(data, ["="], []); string setting = llList2String(tmp, 0); string param = llDumpList2String(llDeleteSubList(tmp, 0, 0), "=");
This will not lose information is the setting value includes a "=" in it. Also, setting the param value before checking setting will save code overall.