this will work for 1 or more, but will NOT work for none! (it will return an empty string) you should do a listLen(file,".") gt 0 test to make sure before you start.
On Nov 7, 2007 1:21 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > Jerry... > I'll modify my code to use: > #listdeleteat(file,listlast(file.'.'),'.')> > > Now, I'm assuming that the code above will work if there's > only one period, too, right? (I'll test it shortly after lunch!) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292868 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4