Thanks much guys, I appreciate your help as always. Jim
James E. Harvey Corresponding Officer/M.I.S. Hanover Shoe Farms, Inc. www.hanoverpa.com [EMAIL PROTECTED] 717-637-8931 fax: 717-637-6766 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tommy Swift Sent: Wednesday, July 05, 2006 3:17 PM To: ProFox Email List Subject: Re: Strtran question James, The chrtran() function will look for multiple characters.. The space(1) and apostrophe's will be removed below.. select chrtran(dam1, " '", "") as fieldname from stnhorse into cursor tempord Tommy Swift At 02:58 PM 7/5/2006 -0400, you wrote: >Select strtran(dam1," ","") from stnhorse into cursor tempord readwrite > >Returns a field with all the spaces removed from the dam's name. > >(ie, All Right Hanover becomes AllRightHanover) > >I can't seem to get the right syntax to remove apostrophes in the same pass? > > >Is it possible? > >My work around is to run the result to a readwrite cursor and then strtran >the field for each item I want to remove. > >Basically I'm trying to simply remove everything but legitimate alphabetic >characters. [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.

