Strip control codes and extended characters from a string: Difference between revisions
Strip control codes and extended characters from a string (view source)
Revision as of 06:42, 12 August 2018
, 5 years ago→REXX faster version: minor correction
Walterpachl (talk | contribs) m (→REXX faster version: minor correction) |
|||
Line 1,603:
It also shows a different way of performing concatenations (without using abutments, and a way to split a long literal (character) string.
Because there are (or should be)
<lang rexx>/*REXX program strips all "control codes" from a character string (ASCII or EBCDIC). */
x= 'string of ☺☻♥♦⌂, may include control characters and other ♫☼§►↔◄░▒▓█┌┴┐±÷²¬└┬┘ilk.'
|