Hi;
I am using VB.NET 2003.
I am trying to importing data from text files and I am using split() function to get each substring in one row which is comma delimated and have inverted comma's for each subtring. It is working fine if there is no Comma in between inverted Commas. It gives me error if there is a Comma in the substring. Like for address we can have Comma. I don't know how to ignore the comma which is in between inverted commas. I can't change the delimeters b/c I am getting that files from client.
The sample of text row is
"123, John Street","Toronto","Ontario","M2M2M2"
Note: "123, John Street" is one substring.
Thanks.
I am using VB.NET 2003.
I am trying to importing data from text files and I am using split() function to get each substring in one row which is comma delimated and have inverted comma's for each subtring. It is working fine if there is no Comma in between inverted Commas. It gives me error if there is a Comma in the substring. Like for address we can have Comma. I don't know how to ignore the comma which is in between inverted commas. I can't change the delimeters b/c I am getting that files from client.
The sample of text row is
"123, John Street","Toronto","Ontario","M2M2M2"
Note: "123, John Street" is one substring.
Thanks.