note 31070 rejected from function.str-replace by alindeman
| From: | alindeman@php.net | Date: | Wed, 09 Apr 2003 00:12:58 +0000 |
| Subject: | note 31070 rejected from function.str-replace by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-46381@lists.php.net to get a copy of this message | ||
how does one goes about one that also highlights part of a word .. that function above will only
highlight a word if it's not part of another word, take for instance:
$keyword = 'dolor';
$result = 'Lorum IpsumDolor Sit Amet dolor here Dolor there';
calling getHTMLHighlight(...) would not highlight the "Dolor" in "IpsumDolor" !!