llDeleteSubString
function ll.DeleteSubString(Source: string, Start: number, End: number): stringRemoves the indicated sub-string and returns the result.
Start and End are 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 delete the entire string.
If Start is larger than End, the sub-string is the exclusion of the entries; so 6, 4 would delete the entire string except for the 5th character.
Parameters
-
Source(string) -
Start(number) -
End(number)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.DeleteSubString().
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: llDeleteSubString