DADiSP Worksheet Functions > Function Categories > String Manipulation > STRLEN

 

STRLEN

Purpose:

Returns the length of a specified string.

Syntax:

STRLEN("string")

Returns:

An integer.

Example:

strlen("I did it my way")

 

returns 15.

Example:

W1: 1..124

strlen(strcat("The maximum is ", strnum(max(W1))))

 

returns 20.

Remarks:

All characters including whitespaces are counted.

See Also:

STRCAT

STRNUM