Help with eregi
| From: | Ryan Schefke | Date: | Tue, 22 Jun 2004 18:57:28 +0000 |
| Subject: | Help with eregi | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188829@lists.php.net to get a copy of this message | ||
Could someone please help me with an eregi statement.
I have a string that can vary as such:
client1/album/album_121-2132_IMG.JPG
client2/album/album_121-2132_IMG.JPG
client59/album/album_121-2132_IMG.JPG
client499887/album/album_121-2132_IMG.JPG
I want to select whatever comes after the last forward slash, like
album_121-2132_IMG.JPG
Thanks,
Ryan