Reply To: Stripping non-alphabetic characters out of a field

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Stripping non-alphabetic characters out of a field Reply To: Stripping non-alphabetic characters out of a field

#56185
Jim Kosloskey
Participant

Traci,

I think you might have too many .

Try this:

regsub -all {[x7e-xff]} $str {“} outstr

That seemed to work for me in hcitcl.

Sure hope this isn’t HL/7; you get a 2 byte string which converts to “”; and the receiving system is sensitive to Active Null.

Jim Kosloskey

email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10