User talk:Domitan Redenblack
Revision as of 23:32, 4 September 2011 by Strife Onizuka (talk | contribs) (llGetSubString is predictable)
llGetSubString is predictable
I take it you had some trouble with the Ranges & Indexes section, it is a bit complicated and the functionality it describes is strange. However it is predictable.
Quick crash course: <lsl>llGetSubString("abcdefg", 2, 4) == "cde" llGetSubString("abcdefg", 4, 2) == "abcefg" llGetSubString("abcd", 2, 4) == "d" llGetSubString("abcd", 4, 2) == "abc" llGetSubString("abcdefg", -5, -3) == "cde" llGetSubString("abcdefg", -3, -5) == "abcefg" llGetSubString("abcd", -5, -3) == "a" llGetSubString("abcd", -3, -5) == "bcd"</lsl>
Suffice it to say, it is not a bug. However, changing the behavior at this point would break 7 years of existing content. -- Strife (talk|contribs) 00:32, 5 September 2011 (PDT)