String case: Difference between revisions

Content added Content deleted
(PascalABC.NET)
(Add Uiua)
Line 3,813: Line 3,813:
ALPHABETA
ALPHABETA
ALPHABETA
ALPHABETA
</pre>

=={{header|Uiua}}==
{{works with|Uiua|0.11.1}}
<syntaxhighlight lang="uiua">
¯"alphaBETA" # swapcase
⌵"alphaBETA" # upper
¯⌵"alphaBETA" # lower
±"alphaBETA123" # case mask 1=upper, -1=lower, 0=neither
</syntaxhighlight>
{{out}}
<pre>
"ALPHAbeta"
"ALPHABETA"
"alphabeta"
[¯1 ¯1 ¯1 ¯1 ¯1 1 1 1 1 0 0 0]
</pre>
</pre>