Format Operator
The value in a field can be evaluated using a given format
operator.
FORMAT:type where: - type
- is the format type. All formats except for format C are available. For more information about format types, see Table 1.
Format returns true if the field matches the format.
In this example, the value matches if it contains all digits.
Value in {FORMAT:N}This usage is not particularly useful as it provides the same level of validation as the standard format check. For more information, see Format Check.
However, this operation can be used in the field conditional as well. In the following example,
if the leading character of the NACHA Immediate Origin field is a blank, then the field must follow
the bTTTTAAAAC format. If it is any other character, the conditional is
skipped.
If FIELD:1,14,1,A in {} value in {FORMAT:bTTTTAAAAC}