3
Reply

Split string

Ekrem Tapan

Ekrem Tapan

Nov 3 2015 1:15 AM
316
Hi Everyone
 
A574A02211     S193FDRA3     20141023S17337     WAN HAI 307
A024A13787     S1023F                               S1023F     WAN HAI 316
A574A02181     S187FDRA3     20141024S17337     WAN HAI 307
 
i have a csv file like that   as above but, 
 
nextCellPlace = FindNextCell(data[dataCounter], spacePlace);
spacePlace = data[dataCounter].IndexOf(" ", nextCellPlace);
arrivalShip.Add(GetCellValue(data[dataCounter], nextCellPlace, spacePlace));
 
im using this code get a third column data, but i wantto slipt red and blue string data, if met at no red data i wantto write down NULL then goto continue get second data  

Answers (3)