Use the REReplace function to remove all non-numeric characters. Then simply Left(string,3). That should do it for you.
-Novak ----- Original Message ----- From: "Adrian Cesana" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 10:10 AM Subject: pulling 3 numerics from an alphanumeric string > I need to pull the left most 3 numeric digits from an alphanumeric string, > anyone have a good method of doing this?. The string could also have other > character in it like "#$,' etc... > > I was thinking this possibly could be done with LEFT() and REREPLACE()... > > Thanks,Adrian > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com