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.



_______________________________________________
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