split dat file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samehsemsem
    New Member
    • Apr 2008
    • 1

    split dat file

    i have a file called som.DAT containing some strings like
    $APDSV,3,3,11,0 8,26,221,,16,17 ,055,,11,05,174 ,,,,,*42
    $ASDAM,,A,30322 ,N,03174,E,6.8, 19.15,,,,A*49
    $APDAM,,30143,N ,03804,E,1,6,01 .39,006,M,,,,*1 E

    i want to read this file then split the string start with $ASDAM
    and put the values 30322 in text1, 03174 in text2, etc
    then save evrey value in a file.dat
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Try to use FileSystemObjec t to read and write to files.

    Comment

    Working...