note 78111 deleted from function.nl2br by thiago
| From: | thiago@php.net | Date: | Wed, 29 Oct 2008 16:03:03 +0000 |
| Subject: | note 78111 deleted from function.nl2br by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145934@lists.php.net to get a copy of this message | ||
Note Submitter: flashyeu at yahoo dot com
----
<?php
$str = 'One plus one is two
Two plus two is four.';
$str = nl2br($str);
$str = strip_tags($str);
print str_replace(' ','',$str);
//out put Oneplusoneistwo Twoplustwoisfour.
?>
What's char between 'Oneplusoneistwo' and 'Twoplustwoisfour.'
It not's whitespaces. What's it?