llGetSubString
function ll.GetSubString(String: string, Start: number, End: number): stringReturns a sub-string from String, in a range specified by the Start and End indices (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
-
String(string) -
Start(number) -
End(number)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetSubString().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetSubString