String case: Difference between revisions

→‎{{header|Zig}}: zigstr project has moved; update link in TODO
(PascalABC.NET)
(→‎{{header|Zig}}: zigstr project has moved; update link in TODO)
 
(One intermediate revision by one other user not shown)
Line 3,813:
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>
 
Line 4,152 ⟶ 4,168:
try stdout_wr.print("upper: {s}\n", .{upper});
 
// TODO use https://githubcodeberg.comorg/jecolondude_the_builder/zigstr
}</syntaxhighlight>
 
1

edit