Returns the length of a string.
iLength = Len (sString)
Variable | Description |
---|---|
iLength | The number of characters in the string. INTEGER. |
sString | The string whose length to return. STRING. |
Len returns the number of characters in sString. If sString is an empty string (""), Len returns 0.
STRING sName sName = "XYZ" Print (Len (sName)) // prints: 3