I’m trying to do something quite simple. I need to take a pipe-delimited text file and store the contents of the file in an array.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haven’t done vb.net for at least a year but I’ll give it a go:
First of all read in all of the file you have
Then split the file by the pipe character:
fileSplitwill be your string array of the file separated by the pipe character.I haven’t tested this and the syntax is by memory but I’m sure you’ll be able to figure it out 🙂