From OpenSimulator

Revision as of 17:54, 1 May 2019 by Ubit (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
integer osStringLastIndexOf(string src, string value, integer ignoreCase)
Reports the zero-based index of the last occurrence of string value withing string scr. returns -1 if not found. It can compare ignoring case with ignoreCase TRUE(1) or considering case if FALSE(0);
Threat Level No threat level specified
Permissions Use of this function is always allowed by default
Extra Delay No function delay specified
// Example of osStringRemove
        llSay(PUBLIC_CHANNEL, "Touch me to show osStringRemove");
    touch_start(integer n)
        string src = "abcdefDeg";
        string val = "DE";
        llOwnerSay((string)osStringIndexOf(src, val, TRUE));

Personal tools
About This Wiki