By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,192 Members | 1,276 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,192 IT Pros & Developers. It's quick & easy.

split dat file

P: 1
i have a file called som.DAT containing some strings like
$APDSV,3,3,11,08,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,,,,*1E

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
Apr 12 '08 #1
Share this Question
Share on Google+
1 Reply


debasisdas
Expert 5K+
P: 8,127
Try to use FileSystemObject to read and write to files.
Apr 14 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.