Welcome, Guest. Please login or register.

Author Topic: More elegant way of removing/ignoring \n  (Read 2442 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MrZammler

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 720
    • Show all replies
Re: More elegant way of removing/ignoring \n
« on: May 21, 2009, 01:49:22 PM »
That's not bad, but to be complete you should also check for DOS line endings (\r\n) in case those files are edited in a Windows machine.
Anyway is the only way