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 21:25, 14 June 2024
, 15 days ago→{{header|langur}}
(PascalABC.NET) |
Langurmonkey (talk | contribs) |
||
Line 1,489:
=={{header|langur}}==
<syntaxhighlight lang="langur">
val str = "()\x15abcd\uFFFF123\uBBBB!@#$%^&*\x01"
writeln "original : ",
writeln "without ctrl chars: ", replace(
writeln "print ASCII only : ", replace(
</syntaxhighlight>
{{out}}
|