FORMATADDRESS

Formats an address field object into a string

Parameters

address Object (required) - the address field object

Returns

String - formatted string

Examples

FORMATADDRESS({sub_thoroughfare: '360', thoroughfare: 'Central Avenue', suite: '200', locality: 'St. Petersburg', sub_admin_area: 'Pinellas', admin_area: 'FL', postal_code: '33701'})

// returns "360 Central Avenue #200nSt. Petersburg FL 33701"
FORMATADDRESS({sub_thoroughfare: '360', thoroughfare: 'Central Avenue', suite: '200', locality: 'St. Petersburg', sub_admin_area: 'Pinellas', admin_area: 'FL', postal_code: '33701'}, {lineSeparator: ', '})

// returns "360 Central Avenue #200, St. Petersburg FL 33701"