Hi gurus -
OK I have data coming in,in this format
"forename","surname","address_1","address_2","address_3" etc
I have been splitting on the commas - no problem
Except there are now addresses that have extar commas in the first field - eg "54,test street","address_2", etc
I have got round this using Text::CSV;
Problem ? We now have records coming in that could have 2,3 or more commas within the address_1 field !
What is my best option ?
Obviously if I could get the data pipe-delimited that would be great .... but don't think I can -
Any ideas would be great .....
cheers in advance
Rab
OK I have data coming in,in this format
"forename","surname","address_1","address_2","address_3" etc
I have been splitting on the commas - no problem
Except there are now addresses that have extar commas in the first field - eg "54,test street","address_2", etc
I have got round this using Text::CSV;
Problem ? We now have records coming in that could have 2,3 or more commas within the address_1 field !
What is my best option ?
Obviously if I could get the data pipe-delimited that would be great .... but don't think I can -
Any ideas would be great .....
cheers in advance
Rab