yea there are a lot of ways to do that..

If the digits always in the same position you could do a 

<cfset newStr = left(1, '2007') & right(2, '2007')>

alternatively if its the same sequence you could find/replace.... 

Is that not what you meant?



-----Original Message-----
From: John P [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 12, 2007 12:20 PM
To: CF-Talk
Subject: remove a number from a series of numbers


Hi, 

Is it possible to remove a digit from a multi-digit number IE:
2007 would become 207?

Thanks, 

John





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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