Entry: JS_GetStringLength (Function)
Summary: Determines the length, in characters, of a JS string.
Syntax:
size_t JS_GetStringLength(JSString *str);
Description:
JS_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:
|
|
|