This is an old revision of the document!


STRLEN()

Syntax:

strlen!(<string pointer>)

The STRLEN() function returns the length of a string. The function accepts a string pointer (a literal string, a string pointer or a string pointer expression) and returns a byte.

Example:

a$ = "xc=basic"
print strlen!(a$)
rem -- outputs: 8
print strlen!("hello world")
rem --outputs: 11