InstallShield 2016 ยป InstallScript Language Reference
The StrLengthChars function returns the number of characters in a given string variable (that is, the number of code units in the UTF-16-encoded string) up to the first null character.
StrLengthChars and StrLength return the same results.
To obtain the number of characters in a string with embedded nulls, use SizeOf.
Syntax
StrLengthChars ( szString );
Parameters
Parameter |
Description |
szString |
Specifies the string whose size is to be determined. |
Return Values
Return Value |
Description |
X |
Where X is the number of characters in the string. |
< 0 |
Indicates that the function was unable to determine the number of characters in the string. |
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |