InstallShield 2019 ยป InstallScript Language Reference
The StrLength 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.
StrLength and StrLengthChars return the same results.
To obtain the number of characters in a string with embedded nulls, use SizeOf.
Syntax
StrLength ( 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 2019 Help LibraryApril 2019 | Copyright Information | Flexera |