Carl,

Something like the following is an idea.  This might filter a bit more
than what you want, but it is simple enough to modify.


FUNCTION CLEAN.TEXT(TEXT)
         TEXT.OUT = ''
         FOR Y = 1 TO LEN(TEXT)
            TEST=SEQ(TEXT[Y,1])
            IF TEST<32 OR TEST>126 THEN
              CONTINUE
            END
            TEXT.OUT := TEXT[Y,1]
         NEXT Y
RETURN(TEXT.OUT)
END  

Anthony

> Carl Sadlier wrote:
> 
> >Does anyone have a program or suggestions on how to clean up a file 
> >that has control characters and unprintable characters that are not 
> >Subvalue,Value or Field markers?
> >
> >Thanks,
> >
> >Carl
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to