Derive bottom-most dir from string???
| From: | Shawn McKenzie | Date: | Thu, 20 Feb 2003 20:27:52 +0000 |
| Subject: | Derive bottom-most dir from string??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136409@lists.php.net to get a copy of this message | ||
Is there an easy way to derive the bottom-most directory from a string
containing a path?
Example: $somepath = "html/testsite/templates/shopping";
Becomes: "shopping"
TIA
-Shawn