Grabbing the first characters of a textfile using StreamReader or ReadFile in vb.net

N

.Net Sports

I've been looking everywhere, but i can't locate any functions, or
articles on the net or my resources, on how to open a file using
vb.net, and then grabbing certain parts of the file, and putting it
into a useable variable. I know there are functions like Split, Len,
Trim, etc., but I have found nothing as far as the sequence for the
syntax. I am interested in grabbing the first line, or first 50
characters for example, and then being able to use it elsewhere in my
script.
TIA
netsports
 

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

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top