Parameters
- pattern
- The format pattern
- name
- The name in address
- company
- The company name
- address1
- Address line 1
- address2
- Address line 2
- city
- The city or township
- province
- The province
- postalCode
- The postal code
- country
- The country name. If length of the country name is 2 it is considered as country code
- phone
- The phone number
- fax
- The fax number
- The email address
- isHtml
- If true address is formatted in HTML otherwise plain text.
Return Value
Formatted address