LEN
(Function)

Obtains the length of a character string in bytes.

LEN (<Character string >)

This statement obtains the total sum byte count of the character string length designated in <Character string>.

DEFINT li1, li2
|
|
DIM ls1 As String
|
|
li1 = LEN( "abcdefg" )
|
'Assigns 7 characters of the character
'string "abcdefg" to li1.
|
li2 = LEN( ls1 )
|
'Assigns the byte count of ls1 to li2.
|