Hi
I have a .txt file which contains one line data as
"George",33,"engineer, r&d department, this company","234-7554-344"
I use name,age,memo,tel=File.open(filename).split(',') to collect values
but get wrong value for memo and tel. I want string "engineer, r&d
department, this company" not be splited by comma, how can I do that?
on 28.09.2007 05:26
on 28.09.2007 05:29
Ak 756 wrote: > Hi > > I have a .txt file which contains one line data as > > "George",33,"engineer, r&d department, this company","234-7554-344" > > I use name,age,memo,tel=File.open(filename).split(',') to collect values > but get wrong value for memo and tel. I want string "engineer, r&d > department, this company" not be splited by comma, how can I do that? Sorry to put questions here. please remove it.