String to be divided
Start position. Negative values clamp to 0 rather than counting from the end
Optionalend: numberEnd position. Default is the end of the string. As in native, the two arguments are
swapped when begin is greater than end
Substring from the starting string
This function mirrors the
substringfunction from the JavaScript Standard String object. It operates on grapheme clusters instead of UTF-16 code units.Returns the part of the string between a start and an end index.