Results 1 to 3 of 3

Thread: [RESOLVED] StreamReader readline() split only at newlines that are not encapsulated in quotes

Threaded View

  1. #2
    Hyperactive Member
    Join Date
    Jan 2010
    Posts
    259

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width