--On Friday, May 03, 2013 6:24 PM +0200 Erwann Abalea <email@example.com> wrote:This is almost the correct way to format it... it should be:
Can't you use the postalAddress attribute?
With your examples, it should be something like:
postalAddress: 123 1st av$Montreal$QC$GGG RT3$CA
postalAddress: 321 42nd st$Montreal$QC$GGG RT1$CA
postalAddress: 123 1st av $ Montreal $ QC $ GGG RT3 $ CA
I would also note that there is no guaranteed return order for values unless you use weighted attributes.
Generally the best thing to do if you are going to have multiple addresses (say home, work, business, mailing, etc) is to have custom attributes specifically for those addresses