看板 C_Sharp 關於我們 聯絡資訊
hey everyone, how can i read and parse the value of cell from a CSV file by visual 2005 column by column if cells contains comma(,), space( ) or double quot(""). i tried to use, readline() and split(',') a string but if cells contain comma then it spilts into 2 object which is not what i want.btw the precondition is that i cannt change anything about imported CSV file. thank you everyone -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 24.191.101.238
FantasyRyu:Try Regular Expression。 03/08 16:41
megaman1206:ADO.NET 03/08 23:04
CafeKing:自己寫就好了 我就寫一個了(純拆字串的方式) 03/10 16:21