This function mirrors the substring function from the JavaScript Standard String object. It handles Unicode code points instead of UTF-16 character codes.
substring
Returns a substring by providing start and end position.
String to be divided
Start position
End position. Default is End of string
End of string
Substring from starting string
This function mirrors the
substring
function from the JavaScript Standard String object. It handles Unicode code points instead of UTF-16 character codes.Returns a substring by providing start and end position.