I'm trying to replace the .jpg file extension on in a string with .gif and
using the following regex.

 

<cfset LOCAL.New = 'D:\MediaStore\' & REReplace(ARGUMENTS.File, '.jpg',
'.gif', 'ALL') />

 

ARGUMENTS.File is a string that looks like 'myfile.jpg'

 

Am I missing something here?

 

Thanks,

 

Rob



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277030
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