Thanks a lot

I'd like to remove newline only.
Is there any simple way?

Koala


From: "Simon Stiefel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: [PHP] How to remove new line character?
Date: Sun, 2 Nov 2003 17:25:53 +0100

Hi,

try it with the 'chop()'-function.
Note, that this also removes any other whitespace-characters like tabulators
and spaces.


HTH,

Simon



> -----Original Message-----
> From: Shu Hung Yeung [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 02, 2003 5:14 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] How to remove new line character?
>
>
> Hello,
>
> I am a beginner of PHP.
>
> I know a little about Perl.
> In Perl, there is a chomp() function to remove newline
> (return) character in
> a long string.
> How about PHP? Can I do the same in PHP
>
> Thankyou

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


_________________________________________________________________
No masks required! Use MSN Messenger to chat with friends and family. http://go.msnserver.com/HK/25382.asp


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



Reply via email to