Jump to content

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

m
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),,below),,above))</code>
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.
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.