To remove all but legitimate alpha characters, use CHRTRAN( string, 
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", "" )

Blue Skies!

Joe
[Image]

"James E. Harvey" 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.
>
> James E. Harvey
> Corresponding Officer/M.I.S.
> Hanover Shoe Farms, Inc.
> www.hanoverpa.com
> [EMAIL PROTECTED]
> 717-637-8931
> fax: 717-637-6766
>
[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.

Reply via email to