String case: Difference between revisions

→‎{{header|APL (Dyalog)}}: Replace deprecated I-Beam example with Case Convert system function
(Added Quackery.)
(→‎{{header|APL (Dyalog)}}: Replace deprecated I-Beam example with Case Convert system function)
Line 326:
</lang>
==={{header|APL (Dyalog)}}===
Dyalog APL has a system function for case conversion, I-beam with <code 819 (mnemonic, looks like 'BIg')>⎕C</code>. This is Unicode-aware and preserves punctuation;. defaultsIf tocalled lowercasemonadically, ormaps character arrays to lower case. If called with a left-hand argument 0of does1, lowercase.maps Leftcharacter argumentarrays 1to doesupper uppercase:case.
<lang APL>
(819⌶)⎕C 'I''mΠέτρος is using APL!'
i'mπέτροσ is using apl!
1 (819⌶)⎕C 'I''mΠέτρος is using APL!'
I'MΠΈΤΡΟΣ IS USING APL!
</lang>
 
Note: The I-Beam operator with code 819 is now deprecated in favor of the system function <code>⎕C</code>.
 
=={{header|AppleScript}}==
Anonymous user