I need to split the address using script. This is my input addresses
1 Avenue Descartes 92350 Le Plessis-Robinson FRANCE
My output like below:
1
Avenue Descartes
92350
Le Plessis-Robinson
FRANCE
I need to split the address using script. This is my input addresses
1 Avenue Descartes 92350 Le Plessis-Robinson FRANCE
My output like below:
1
Avenue Descartes
92350
Le Plessis-Robinson
FRANCE
Best Answer
You can use a specific identifier to split the custom address field into address components and store in proper address fields.
You should determine the identifier in your custom address field. Usually the identifier will be Comma(,).
Custom Address Field value = 1,Avenue Descartes,92350,Le Plessis-Robinson,FRANCE
In your apex method,
Hope it helps.