Returns the length of the string sStr.
[ lLength = ] Len ( sStr )
The Len procedure syntax has the following parts:
Name |
Type |
Description |
lLength |
Long |
Length of sStr |
sStr |
Val BString |
Input string |
This function returns the number of characters in the string sStr. This number can be equal to or less than the maximum defined bytes for that string (dimension). Nonprintable characters as well as spaces are counted.
! s is defined as BString
s="ATEasy"
Print Len(s) ! will print 6
Left, Mid, Right, SetLen, String Data Types, String Literals