Skip to content

@technobuddha > library > Unicode > String Length

Function: unicodeLength()

ts
function unicodeLength(input: string): number;

Defined in: unicode-length.ts:10

Return the number of unicode code points in a string

Parameters

ParameterTypeDescription
inputstringthe unicode string

Returns

number

the number of code points