On 02-Nov-2003 Koala Yeung wrote:
> Thanks a lot
> 
> I'd like to remove newline only.
> Is there any simple way?
> 

rtrim($str, "\r\n");

Regards,
-- 
Don Read                                     [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to