Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

This is an old revision of the document!


STRLEN()

Syntax:

strlen!(<string expression>)

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

Example:

a$ = "xc=basic"
print strlen!(a$)
rem -- output: 8