How can I remove all \n and \r from a txt file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 20 August 2002 23:00, Erich Kolb wrote:
How can I remove all \n and \r from a txt file?
file(), str_replace(), fopen(), fwrite(), fclose(), add seasoning to taste.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design
$str = str_replace('\r',$str)
$str = str_replace('\n',$str)
Justin French
on 21/08/02 1:00 AM, Erich Kolb ([EMAIL PROTECTED]) wrote:
How can I remove all \n and \r from a txt file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo