1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

String extraction from text file

Discussion in 'C#' started by ashish_wangi, Jul 7, 2011.

  1. ashish_wangi

    ashish_wangi New Member

    Joined:
    Jul 7, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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)
     

Share This Page