lower
, upper
¶
Shift case
lower x lower[x]
upper x upper[x]
Where x
is a character or symbol atom or vector, returns it with any bicameral characters in the lower/upper case.
q)lower"IBM"
"ibm"
q)lower`IBM
`ibm
q)upper"ibm"
"IBM"
q)upper`ibm`msft
`IBM`MSFT
domain: b g x h i j e f c s p m d z n u v t
range: . . . . . . . . c s . . . . . . . .
Implicit iteration¶
lower
and upper
are atomic functions.
q)upper(`The;(`quick`brown;(`fox;`jumps`over));`a;`lazy`dog)
`THE
(`QUICK`BROWN;(`FOX;`JUMPS`OVER))
`A
`LAZY`DOG