lower
Definition: | object x2 = lower(object x1) |
Description: |
Convert an atom or sequence to lower case.
Should you need to, you can also invoke islower(integer ch) to determine if a character is lower case. [ASCII only] Note that utf32_to_utf8(lower(utf8_to_utf32(utf8))) may be advised
when dealing with utf8 strings, since lower(utf8) is likely to mangle individual bytes that are part of a multibye representation
of unicode codepoints #100..#10FFFF. Nothing in that range is altered by lower().
|
pwa/p2js: | Supported. |
Example: |
s = lower("Phix") -- s is "phix" a = lower('B') -- a is 'b' s = lower({"Phix", "Programming"}) -- s is {"phix", "programming"} |
Implementation: | See builtins\pcase.e (an autoinclude) for details of the actual implementation. |
See Also: | upper |