Hi Suraj,
Maybe using regular expressions (see link below) to replace the newline characters with a new one (like "$"). So after you can do the split with the replaced char.
http://stackoverflow.com/questions/1331815/regular-expression-to-match-cross-platform-newline-characters
Maybe using regular expressions (see link below) to replace the newline characters with a new one (like "$"). So after you can do the split with the replaced char.
http://stackoverflow.com/questions/1331815/regular-expression-to-match-cross-platform-newline-characters