note 40709 deleted from function.substr by nlopess
| From: | nlopess@php.net | Date: | Fri, 12 Mar 2004 14:38:42 +0000 |
| Subject: | note 40709 deleted from function.substr by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66724@lists.php.net to get a copy of this message | ||
Note Submitter: alex @ item-media · ro
----
When you want to return the first x chars/words from a string, make sure you first strip all HTML
tags as there is a chance that you may leave some tags unclosed thus formatting unintentionally the
rest of your document.