ProvideX V8.20 > Language Reference > 3. System Functions
471
LEN( ) Function
           Return String Length
Format
LEN(string$[,ERR=stmtref])
Where:
string$
String expression whose length is to be returned.
stmtref
Program line number or label to transfer control to.
Returns
Integer, length of given string, 0 zero if null string.
Description
The LEN( ) function returns an integer reporting the length of the given string. If the
given string is a null string ("") then the function returns a length of 0 zero.
Examples
A=LEN("HELLO") ! yields 5
A=LEN("") ! yields 0
A=LEN("A"+"BC") ! yields 3
A=LEN(DAY) ! yields 8 (DAY variable is in format MM/DD/YY)