You can use listlast() with . as the delimiter.

On 5/24/07, Les Mizzell <[EMAIL PROTECTED]> wrote:

> OK, I want to rename this with the record ID that goes into the
> database, so "397564.xls" looks great to me instead of the above.
> Got no problem with the record ID part - how do I extract the correct
> file extension to tag onto the renamed file, since it can vary, and
> since it can look like something really stupid like the above .xls file?


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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

Reply via email to