trim last folder in a path
- From: paul <paul@xxxxxxx>
- Date: Mon, 27 Jun 2005 14:12:27 -0700
How do I trim last folder in a path.
$curdir = "c:/www/triteleia/plants" I just want "plants"
Sorry, I always struggle with strings & can't even begin to figure this one out.
.
- Follow-Ups:
- Re: trim last folder in a path
- From: Simon Bridgewater
- Re: trim last folder in a path
- Prev by Date: Re: arbitrary length arithmetic on servers
- Next by Date: Re: trim last folder in a path
- Previous by thread: arbitrary length arithmetic on servers
- Next by thread: Re: trim last folder in a path
- Index(es):