Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Splitting a string consisting of both Delimeters and Enclosures 1

Status
Not open for further replies.

forumASP

Programmer
Jun 6, 2011
1
IN
How to split a string while being read from a .csv file having both Delimeters and Enclosures in the string? For example- If a string structure is like this :
John Parker , "#30, Park street", California

This string should be splitted like
John Parker
#30,Park Street
California

And not like

John Parker
#30
Park Street
California

That means, the delimeters inside the quotes(enclosures) must be neglected. Please reply if anybody has the solution..........Its urgent.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top