POSTCODE - Extract a post code (Reports & Settings Report Generator function)
From Catalyst
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.