What is new line? \n? \j? 13? 10? 15?

From: Date: Thu, 07 Sep 2000 11:47:35 +0000
Subject: What is new line? \n? \j? 13? 10? 15?
Groups: php.general 
Request: Send a blank email to php-general+get-15695@lists.php.net to get a copy of this message
Hi all!, What is the right definition of newline? I mean exact enough so that no newline could ever escape from me on any platform and nothing else could ever be defined by mistake. I know this few things: \n \j to make them all in regex I found people writing (\n|\j|\n\015|\j\015|\015\n|\015\j) or chr(10) , chr(13) What is the simplest and the most SECURE way to define it? I heard'em all ... but still too confused.. Thank you! Maxim Maletsky - maxim@j-door.com <mailto:maxim@j-door.com> Webmaster, J-Door.com / J@pan Inc. LINC Media, Inc. TEL: 03-3499-2175 x 1271 FAX: 03-3499-3109 http://www.j-door.com <http://www.j-door.com/> http://www.japaninc.net <http://www.japaninc.net/> http://www.lincmedia.co.jp <http://www.lincmedia.co.jp/>

« previous php.general (#15695) next »