llGetSubString
LSLstring llGetSubString(string src, integer start, integer end)
Returns a sub-string from String, in a range specified by the Start and End indicies (inclusive).\ Using negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would capture the entire string.\ If Start is greater than End, the sub string is the exclusion of the entries.
Parameters
| Type | Name |
|---|---|
| string | src |
| integer | start |
| integer | end |
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.
More in LSL
void llRemoveVehicleFlags(integer flags)
vector llRot2Up(rotation r)
void llSetTexture(string texture, integer face)
key llRequestURL()
list llListInsertList(list dest, list src, integer start)
list llCastRay(vector start, vector end, list options)
integer llSetAgentEnvironment(key agent_id, float transition, list param_list)
integer llSubStringIndex(string source, string pattern)