$Len

From m204wiki
Revision as of 13:19, 20 April 2013 by Alex (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.