ListLast("dog.jpg",".")

Jonathon 

-----Original Message-----
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 07, 2007 10:42 AM
To: CF-Talk
Subject: How do I get the characters after the last period in a string?

This seems so simple, yet I couldn't figure out the answer even after going
through the list and strings functions in the docs for CF 8.

I want to return the characters in the name of a photo preceding the period.

i.e.. If the photo is named "dog.jpg", I want to strip out ".jpg" from the
filename so I can alter the filename and then "reattach" the ".jpg".

Seems so simple, but I can't figure out how to get it done.

Rick





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292845
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to