Difference between revisions of "POSTCODE - Extract a post code (Reports & Settings Report Generator function)"
From Catalyst
(Updated from revision control) |
|||
Line 24: | Line 24: | ||
A text value. | A text value. | ||
− | [[Category:Reports & | + | [[Category:Reports & Settings Report Generator functions]] |
Latest revision as of 13:04, 22 September 2016
Syntax
$POSTCODE{address, mode}
Description
Will extract the post code from an address.
Parameters
- address
- A text parameter that can not be omitted.
- The address to examine.
- mode
- A text parameter that can be omitted (it defaults to "C").
- C
- "Complete"; return the complete post code.
- F
- "First", return the first portion of the post code.
- S
- "Second", return the second portion of the post code.
- X
- "Exclude", return the address with the post code removed.
Returns
A text value.