StrLengthChars

InstallShield 2014 ยป InstallScript Language Reference

Use the StrLengthChars function to find the number of characters in a string. To determine the number of bytes in a string, use StrLength.

Syntax

StrLengthChars ( szString );

Parameters

StrLengthChars Parameters

Parameter

Description

szString

Specifies the string whose size is to be determined.

Return Values

StrLengthChars 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