>Hi,
>
>Can anyone help me doing the following:
>
>I want to scan a table (.dbf) and search for characters that are not letters or numbers (or searct for a spesific character). Maybe even replace/remove these characters.
>
>Are there any code here to do that, or does anyone have an ide for a program to do so?
>
>Any help would be appreciated.
>
>
>Kenneth Ingebrigtsen
You can use chrtran() by providing char mapping strings.ie:
lcSearchSet='oel'
lcReplacement = ''
? chrtran('Hello there everybody',lcSearchSet,lcReplacement)
lcSearchSet='oel'
lcReplacement = '123'
? chrtran('Hello there everybody',lcSearchSet,lcReplacement)
Cetin