Re: [Flashcoders] parsing newlines in textdocuments

2008-09-24 Thread EECOLOR
I think I would go for this: Replace the \r\n with \n and then split on \n. Greetz Erik On 9/8/08, Martin Klasson [EMAIL PROTECTED] wrote: Hi Coders, I am gonna to make a parser for the MicroDVD subtitle format, but I am not being able to find the documentation, yet a simple example for

[Flashcoders] parsing newlines in textdocuments

2008-09-08 Thread Martin Klasson
Hi Coders, I am gonna to make a parser for the MicroDVD subtitle format, but I am not being able to find the documentation, yet a simple example for how it looks. but the problem I know I will have is how to parse a text-file that are having linebreaks, since they appearantly are different if