chars ← ##.lcase chars ⍝ Lower-casification.
Returns the lower-case equivalent of its simple character array argument. Note
that this function works with arguments of any rank. Note also, that the funct-
ion may easily be extended to work with "Dyalog ALT" or a font of our own.
Technical note: see →ucase←
Examples:
lcase 2 7⍴'PLEASE WHISPER'
please
whisper
charmat ← 5 7⍴'Baker Fox able Dog charlie'
{⍵[⍋⍵;]} charmat ⍝ case-sensitive sort.
able
charlie
Baker
Dog
Fox
{⍵[⍋lcase ⍵;]} charmat ⍝ case-INsensitive sort.
able
Baker
charlie
Dog
Fox
See also: ucase
Back to: contents
Back to: Workspaces
Trouble seeing APL font?