i was going to say listLast() as well...but getFileFromPath() (as suggested by everyone else so far) sounds like the better option. Either will work, but if I'm looking at my code later and see a getFileFromPath(), I'm going to know exactly what that snippet of code is doing.
On 7/26/06, M <[EMAIL PROTECTED]> wrote: > We use: > > #listlast(cgi.SCRIPT_NAME,'/')# > > ? > > On 7/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > I have this string, > > > > C:\CFusionMX7\wwwroot\Inherent\mich_state_bar\PDFS\userguide.pdf > > > > I want to parse out the name of the pdf. How do I do this? > > > > D > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247809 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4