chrtran(myfield,"/\,*#"," ")
Then use strtran() to cut the double spaces. For more information, check out the help on these.
HTH.
>I would like to replace characters such as / \ , * # etc with a specific field. I would be replace these characters with a single space. The ideal would be to run such a function so that it scans the field entirely and does the replacements. Then I would need to apply a replace function that would get rid of any double spaces that are in the field.
>
>Thanks
>
>Peter
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao