LENGTH_OF

Syntax:

LENGTH_OF(C data)

Return Value:

N result

Description:

This function counts the number of characters in a charactere field, including trailing spaces. To count the characters without trailing spaces use in conjunction with TRIMMED

Example:

LENGTH_OF("Hello World ") = 12
LENGTH_OF(TRIMMED("Hello World ")) = 11