Strip a set of characters from a string: Difference between revisions
Strip a set of characters from a string (view source)
Revision as of 04:32, 24 September 2023
, 8 months agono edit summary
(easylang) |
No edit summary |
||
Line 389:
text: She was a soul stripper. She took my heart!
->: Sh ws soul strppr. Sh took my hrt!
</pre>
=={{header|Amazing Hopper}}==
<p>Amazing Hopper! Flavour "Jambo".</p>
<syntaxhighlight lang="Amazing Hopper">
#include <jambo.h>
Main
c = ".$%#\tEste@@@ mensaje será purgado!$$$"
{"Hopper assembler:\n\n"}
{"$%#@.\t", c} str to utf8, delete char, {"\n"} print
Printnl ("\nHopper Jambo formal syntax:\n\n", Char del ( "$%#@.\t", Utf8( c ) ) )
Set ' "\nHopper Jambo Natural syntax:\n\n", "$%#@.\t", c', Get utf8, and delete char
then print with newline
End
</syntaxhighlight>
{{out}}
<pre>
Hopper assembler:
Este mensaje será purgado!
Hopper Jambo formal syntax:
Este mensaje será purgado!
Hopper Jambo Natural syntax:
Este mensaje será purgado!
</pre>
|