• Pure

    Returns the length of the string in bytes. This means Unicode (non-ASCII) characters will take up and return a higher byte count than there are letters.

    Example: StringLength("я") returns 2.

    Parameters

    • s: string

    Returns number

Generated using TypeDoc