Skip to main content

strlen

Discworld driver help

strlen

Name

strlen() - Returns the length of a string.

Synopsis

int strlen( string str );

Description

strlen() returns the number of bytes in the string `str'. Note that you can also use sizeof() on strings. If you want to know the number of characters in a given string, use the strwidth() efun.

See also

sizeof(), strwidth()