Reports the length of a string in bytes.
LenA ( string )
Argument |
Description |
---|---|
string |
The string for which you want the length |
Long. Returns a long containing the length of string in bytes if it succeeds and -1 if an error occurs.
In SBCS environments, Len and LenA return the same results.