%CLEN

<< Click to Display Table of Contents >>

Navigation:  Reference > Functions >

%CLEN

This function returns the effective length of the argument - the address of the last non-blank character.

Forms of use:

DI ivar = %CLEN(cvar),

DI ivar = %CLEN(field),

DI ivar = %CLEN(literal),

If the pickup cvar, field or literal is all blank, the result is returned as zero.