POSTCODE - Extract a post code (Reports & Settings Report Generator function)
From Catalyst
Revision as of 11:42, 22 September 2016 by Les Ward (talk | contribs) (Les Ward moved page POSTCODE - Extract a post code (Reports & Parameters Report Generator function) to POSTCODE - Extract a post code (Reports & Settings Report Generator function))
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.