This function mirrors the length function from the JavaScript Standard String object. It handles Unicode code points instead of UTF-16 character codes. Since length appears to be a reserved keyword, the function was renamed to stringLength
length
stringLength
Returns the length of a string.
String to return the length for
Number that is length of the starting string
This function mirrors the
lengthfunction from the JavaScript Standard String object. It handles Unicode code points instead of UTF-16 character codes. Sincelengthappears to be a reserved keyword, the function was renamed tostringLengthReturns the length of a string.