StrLength

InstallShield 2014 ยป InstallScript Language Reference

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

Syntax

StrLength ( szString );

Parameters

StrLength Parameters

Parameter

Description

szString

Specifies the string whose size is to be determined.

Return Values

StrLength Return Values

Return Value

Description

X

Where X is the number of bytes in the string.

< 0

Indicates that the function was unable to determine the number of bytes in the string.

See Also