Thanks

-----Original Message-----
From: Bill Henderson [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 01, 2003 2:53 PM
To: CF-Talk
Subject: RE: Quick question- get rid of 1st 2 characters


Sorry, brain fart, it's:

newstring = right( string,( len( string ) - 2 ) )

-----Original Message-----
From: Janine Jakim [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 01, 2003 11:24 AM
To: CF-Talk
Subject: Quick question- get rid of 1st 2 characters

I know I know this, yet the answer isn't coming immediately...
I just need to strip the 1st 2 charaters off a field before sending it to
the database.  So if this is typed in LV1234 I only want the 1234. 
Left won't work because the part on right side can be a variable length....
thanks,
j


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to