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 04:55, 14 January 2014
, 10 years ago→{{header|TXR}}
Line 1,345:
{{trans|Racket}}
<lang txr>@(do
(defun strip-controls (str)
(regsub #/[\x0-\x1F\x7F]+/ "" str))
|