~LENGTH Command

Description:

This command is a function and can only be referenced within a SET command. It returns the length of the source string.

 

Format:

 ~LENGTH (string)
Return Value:

The source string length.

Parameters:

string

The character value or character variable from which the substring is to be extracted.

Example:

 SET strlength =     ~LENGTH (Name)

See also:

Output Stream Handling Commands