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));enter
im using this code get a third column data, but i wantto slipt front date data and string data, like that this
A574A02211,S193FDRA3,20141023,S17337,WAN HAI 307
if met at no date data i wantto write down NULL then goto continue get second data
like that this
A574A02211,S193FDRA3,20141023,S17337,WAN HAI 307
A024A13787,S1023F,NULLDATE,S1023F,WAN HAI 316
A574A02181,S187FDRA3,20141024,S17337,WAN HAI 307
splitusesubstringto get each value and then uselengthto check for date data. SubString on MSDN