LEN(str-exp)

Returns the length (or number of characters) contained in the specified string expression.

Program Example.

00100 REM The LEN function
00110 AO = "Fred"
00120 PRINT LEN(A0$)
00130 PRINT LEN(A0$ + "JANE")
00140 END 

Try it