Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21999

Integer string to pull

$
0
0
I have a seriese of integers stored in a file in teh second record. I need to pull these Integers to match them with appropriate lines in another file for ex

file a has 4 integers
12 34 45 56

file b has the integers and the sentence they corespond to
12 i like
34 to eat
45 chocolate
46 vanilla
56 cake

how do i get vb to read these integers and write the line so file 3 would read: i like to eat chocolate cake

notice i ignored the vanilla cause it wasnt an integer pulled.

i hope this is clear enough for your help.

All my supervisor told me was that the integers are stored in the secod record of the file.

Viewing all articles
Browse latest Browse all 21999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>