How about CHRTRAN(string, CHRTRAN(string, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",""),"")
----- Original Message ----- From: "Ed Leafe" <[EMAIL PROTECTED]> To: "ProFox Email List" <[email protected]> Sent: Thursday, July 06, 2006 7:11 AM Subject: Re: Strtran question On Jul 6, 2006, at 8:29 AM, Vince Teachout wrote: >> To remove all but legitimate alpha characters, use CHRTRAN >> ( string, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", >> "" ) > > Wouldn't that remove all legitimate alpha and just leave the rest? > I think he wants: > > CHRTRAN( string, ".', 1234567890", "") > > The first 4 chars are period, apostrophe, comma, and space. He > could add whatever else he needs stripped out, as well. You could always create a UDF to use in the SELECT statement, and use the function I wrote in <http://leafe.com/archives/showMsg/270593> -- Ed Leafe -- http://leafe.com -- http://dabodev.com [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

