- This topic has 7 replies, 6 voices, and was last updated 14 years, 11 months ago by .
-
Topic
-
I am processing Transcription documents from a vendor. When some of the documents, not all, are processed the last line may contain a special character seen as <0xa0>. The last line may have other text besides the special character. I’m trying to use regsub to replace the character with a NULL with no luck. It seems as if regsub passes over the special character like it is not even there. Does anyone have any suggestions on how to search and replace this special character? have tried using the following in a copy command with a counter to find the last line to interogate:
set res $xlateInVals
regsub -all {[^[:print:][:punct:][:blank:],%,$,^.*,+,=,~]} $res {} res
set xlateOutVals
Viewing 6 reply threads
Viewing 6 reply threads
- The forum ‘Cloverleaf’ is closed to new topics and replies.