in reply to Re: finding commas within commas
in thread finding commas within commas
Actually, this breaks if there are commas in the last field. Since you're checking for commas at the end of the field a string like q["2","T,E,S,T,B","Lazowsky","Mike's","Test,string"] will not have the comma in "Test,string" removed.
Update: BrowserUk++ fixed this. And yes, Text::CSV is a good idea.
|
|---|