OxL Reference

method str.lower

The text in lower case (Unicode simple case mapping).

Example:

oxl✓ checked in CI
fn main() io {
  print("ÀB-C".lower())
}
Output
àb-c

The string in lower case.

Example:

oxl✓ checked in CI
fn main() io {
  print("Hello".lower())
}
Output
hello
pub(api) fn lower() -> str

Complexity. O(n).

Since. 1.0.0-beta

Returns

str

Effects

none declared (pure unless the body says otherwise)

Defined in: std/core/text.oxl:353

See also