Skip to main content

StrLength

Use this function to calculate the length of a character string.

Syntax:

STRLENGTH ("String")

where:

  • String is a character string, enclosed in double quotation marks.

Syntax example:

NumChars = STRLENGTH ("StringTest")

Example:

CREATE VARIABLE NumTemp1 AS NUM

SET VARIABLE NumTemp1 = STRLENGTH ("StringTest")

Was this article helpful?

We're sorry to hear that.