I have a txt file with three sections. i need to use section 1 for one function section 2 for a diffrent function and part 3 for the third function. how can i read the file from a specfied delimiter to another delimiter. so bascially i want to read what is inbetween both delimiters.
mrjoli021
-3
Junior Poster
Recommended Answers
Jump to PostIn this case I would load all the string data into a variable so you can use the StringReader class (in System.IO).
The StringReader object lets you read a text file line by line. So you could scan through the lines in search of your delimeters and only read …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.