| ||||||
SummaryDetermines the length, in characters, of a JS string. | ||||||
Syntaxsize_t JS_GetStringLength(JSString *str); | ||||||
DescriptionJS_GetStringLength reports the length, in characters, of a specified JS string, str . Note that JS strings are stored in Unicode format, so JS_GetStringLength does not report the number of bytes allocated to a string, but the number of characters in the string.
| ||||||
See Also
|