note 26162 added to function.substr
| From: | roger4a45 at yahoo dot es | Date: | Sun, 20 Oct 2002 21:25:32 +0000 |
| Subject: | note 26162 added to function.substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38332@lists.php.net to get a copy of this message | ||
I check this problem with substr about strings begin with HTML delimiters (< and >). It's
true. Don't copy string propertly. You can make a dirty thing. User strReplace and replace
'<' and '>'. Then deal string and at the end reverse Replace again. This
one work ok.
--
http://www.php.net/manual/en/function.substr.php
http://master.php.net/manage/user-notes.php?action=edit+26162
http://master.php.net/manage/user-notes.php?action=delete+26162
http://master.php.net/manage/user-notes.php?action=reject+26162