![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Function to strip returns
From: ZeldorBlat <zeldorblat@gmail.com>
Date: Mon Oct 31 2005 - 01:49:10 CET
Sure, or just use:
$value = str_replace(array("\r", "\n", "\t"), '', $value);
It's probably a little bit faster than preg_replace().
|