file feed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm getting a text file formatted like this:

Car VIN: 1252532525253
Make: BMW

How can i get only the number out of there?
 
Use the StreamReader class to read the values;
See help on string class to know how to split, take substrings and see if
the string contains some block of text.
 
I'm doing that now and its not getting the VIN number, also I have to ingnore
the first 5 lines of it except for the vin number, so from line 6 on i have
to read and import the data, how can i start reading from line 6 and ignore
the first 5?
 
I would make a loop that iterates through all lines, and then stop when a
line that begins with the "Car VIN" were found...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

text file read 2
loop through dataset 4
text file format 1
Autopostback dropdownlists... 1
dual drop downs 1
alpha AND numeric, best way to set up 2
group dataset 4
2 questions 2

Back
Top