LEN |
Len returns the length of a character string.
len( expr_c )
|
Element |
Description |
Restrictions |
|
expr_c |
Alphanumeric expression. |
None. |
# Displays the content of the variable TOTO
# completed with blanks to 25 characters
TOTO
= "ABCDE"
Infbox TOTO+space$(25 - len (TOTO))+"toto"
I = len ("A"+VAR1+" "+day$(date$))
len( expr_c ) returns the length of the character string expr_c.
The result is an Integer type.
|
Error |
Description |
|
ERMODE (10) |
The argument is not a Char type. |
|
|