Hey Rick -- If you're looking to get the file name from a file path string,
I'd use getfilefrompath() instead of listlast() -- getfilefrompath() works
independant of the path delimiter, which may sometimes not be / it may be \
-- you could also add \ to the delimiters of listlast, but I also prefer
getfilefrompath() simply because it's more descriptive of what you're doing
and so it's somewhat "self-documenting" when someone else is reading the
code.

> Yep, that did it precisely...

> Thanks, all.

> Rick


> -----Original Message-----
> From: Larry Juncker [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 11, 2003 11:44 PM
> To: CF-Talk
> Subject: RE: How do I pick out part of the string?


> ListLast(string,"/")

> -----Original Message-----
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 11, 2003 10:32 PM
> To: CF-Talk
> Subject: How do I pick out part of the string?


> Hi, all.

> How do I pick out "announcements.cfm"
> from this string:
> "/cfdocs/lifemoves/html/announcements.cfm"  ???

> Thanks,

> Rick




> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/cf_lists/index.
> cfm?method=subscribe&forumid=4
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Your ad could be here. Monies from ads go to support these
> lists and provide more resources for the community.
> http://www.fusionauthority.com/ads.cfm

>                               Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
>                               ubscribe.cfm?user=633.558.4



s. isaac dealey                954-776-0046

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource     http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to