RE: [PHP] string manipulation
| From: | Kelly Protsko | Date: | Fri, 21 Feb 2003 00:20:11 +0000 |
| Subject: | RE: [PHP] string manipulation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136432@lists.php.net to get a copy of this message | ||
Use strrpos() which will find the last occurrence of something in a
string then just use substr() to pull everything from that point on in
the string.
Kelly
-----Original Message-----
From: Gregory Heinrichs [mailto:gregory@inahole.net]
Sent: February 20, 2003 5:13 PM
To: php-general@lists.php.net
Subject: [PHP] string manipulation
little help please, looking for correct functions to use to search for
the
last occurrence of a character in a string and truncate everything in
front of it including the searched for character.<
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php