Re: Problem
| From: | Girish Nath | Date: | Wed, 13 Feb 2002 12:13:45 +0000 |
| Subject: | Re: Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84564@lists.php.net to get a copy of this message | ||
Hi
Use the str_replace function like this :
$myText = str_replace ("\n", "", $myText);
This will remove all line breaks from $myText
http://www.php.net/manual/en/function.str-replace.php
Regards
Girish
--
www.girishnath.co.uk
----- Original Message -----
From: "Roman Duriancik" <rduriancik@indprop.gov.sk>
To: "PHP-General" <php-general@lists.php.net>
Sent: Wednesday, February 13, 2002 11:09 AM
Subject: [PHP] Problem
How to delete from text documents mark end of line.
Example: In file I have some formatted text document with paragraphs, but i
need convert this document to new document without paragraphs (all text
document in one paragraph).
Thanks for yours help.
roman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php