$Len

From m204wiki
Revision as of 12:33, 28 July 2014 by Mlarocca (talk | contribs) (Mlarocca moved page $LEN to $Len: Lower case change)
Jump to navigation Jump to search

The $LEN function determines the current length of the value of a STRING. The $LEN function takes a fieldname, character literal, or %variable as its one argument.

Example 1

$LEN(STATE)

equals 4 if the STATE field of the current record contains OHIO.

Example 2

$LEN (%NAME)

equals 13 if the %NAME variable has a current value of Richard Smith.