LENGTH: Obtaining the Physical Length of a Data Item

How to:

The LENGTH function returns the actual length in memory of a data item.

Syntax: How to Obtain the Physical Length of a Data Item

LENGTH(arg)

where:

arg

Any type

Is the length of the argument. It can be between 1 and 16 bytes.

This function returns an integer value.

Example: Obtaining the Physical Length of a Data Item

LENGTH returns the length in memory of a data item. This example,

LENGTH('abcdef')

returns 6.

This example,

LENGTH(3)

returns 4.

WebFOCUS

Feedback