LenA

Description

Reports the length of a string in bytes.

Syntax

LenA ( string )

Argument

Description

string

The string for which you want the length

Returns

Long. Returns a long containing the length of string in bytes if it succeeds and –1 if an error occurs.

Usage

LenA replaces the functionality that Len had in DBCS environments in PowerBuilder 9. In SBCS environments, Len and LenA return the same results.

See also