
- VBForums
- .NET and More
- C#
- [RESOLVED] StreamReader readline() split only at newlines that are not encapsulated in quotes
-
Jan 23rd, 2013, 12:26 PM
#2
Hyperactive Member
Re: StreamReader readline() split only at newlines that are not encapsulated in quote
First thing that pops into my head is you will have to make a custom parser that reads the file character by character with a flag denoting if you are in a "tag" or not. If the next two chars are \r\n and you flag is true, put the char into the collection, else start a new record.
idea #2, tell them to fix their stuff so you don't have to change yours
Last edited by wakawaka; Jan 23rd, 2013 at 12:29 PM.

- VBForums
- .NET and More
- C#
- [RESOLVED] StreamReader readline() split only at newlines that are not encapsulated in quotes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|