Re: string manipulation
| From: | Joachim Krebs | Date: | Fri, 21 Feb 2003 00:22:51 +0000 |
| Subject: | Re: string manipulation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136433@lists.php.net to get a copy of this message | ||
This is the best method
echo substr(strrchr($string, $char), 1);
------------
On 21 February 2003 at 00:13:02, Gregory Heinrichs wrote:
> 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.<