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:[EMAIL PROTECTED]] Sent: February 20, 2003 5:13 PM To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php