Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   String extraction from text file (http://www.go4expert.com/forums/string-extraction-text-file-t26233/)

ashish_wangi 7Jul2011 22:01

String extraction from text file
From the serial data below i have been successful to extract all the fields in C# only the problem is with address fields how should i recognize as the length will not be same, and the spaces between each word is not uniform

"DOM Name email Phone address city state ZIP A_Name A_Phone SSN I_P L_Am P_Am I_Am CCN Rem"(Format of data)

" 10/2/2007 Laur McColu mslri@btok.com 2725584962 201 Buckhorn Rd Sulphur OK 28575 James Rutherford 7696798518 3997290963 851272 841303 1283 10995 12345678901234 Excelent "(data)

All times are GMT +5.5. The time now is 10:40.