platform-bible-utils
    Preparing search index...

    Function stringLength

    • 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

      Returns the length of a string.

      Parameters

      • string: string

        String to return the length for

      Returns number

      Number that is length of the starting string