Anonymous user
Talk:Strip control codes and extended characters from a string: Difference between revisions
Talk:Strip control codes and extended characters from a string (view source)
Revision as of 17:08, 20 April 2017
, 7 years ago→REXX via translate()
m (Correct language markup and add signature to previous edit.) |
|||
Line 46:
/*stick a fork in it, we're all done. */
</lang>
From this, I cannot see that there is any change with removing the control characters from the string specified. It could be done in one line: <code>yyy = space(translate(translate(xxx
I post this not as a "better" way but because, at least in the REXX implementation I used, the example code printed the old and new exactly the same with both printing the control characters.
|