Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
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) as its single argument and returns a byte.
Example:
a$ = "xc=basic" print strlen!(a$) rem -- outputs: 8 print strlen!("hello world") rem --outputs: 11