I need to read a text file like this
MyItemName = Description @ MoreInfo
Now I need to convert this 3 fields in to a table. using the ‘=’ and ‘@’ as pattern.
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.
Just splitting on
=and@– this returns andIEnumerableof an anonymous class with the properties you are interested in:This approach would require the separator tokens to be used as separators exclusively – if they do occur in any of the fields, this will mess up everything and void this approach.