Talk:Strip control codes and extended characters from a string: Difference between revisions

→‎REXX via translate(): (two) REXX example corrections.
(→‎REXX via translate(): (two) REXX example corrections.)
 
Line 50:
 
--[[User:Abwillis|Abwillis]] 15:47, 20 April 2017 (UTC)
 
<br>
-----
<br>
 
Thanks for finding that error in my REXX programs that I entered &nbsp; (concerning the extended characters). &nbsp; That error has been corrected in both posted REXX programs.
 
On further examination, I also found that the two older REXX versions where still in error &nbsp; (which your above version also has the same problem) &nbsp; in that they were/are also removing multiple (adjacent) blanks, so I rewrote and updated the erroneous two REXX examples.
 
By the way, the error has to do with translating unwanted characters to a blank, and then removing the &nbsp; ''excess'' &nbsp; blanks. <br> But that also removes excess blanks &nbsp; (blanks that are adjacent to another) &nbsp; from the original string. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:02, 22 April 2017 (UTC)