method str.lower
The text in lower case (Unicode simple case mapping).
Example:
fn main() io {
print("ÀB-C".lower())
}Output
àb-c
The string in lower case.
Example:
fn main() io {
print("Hello".lower())
}Output
hello
pub(api) fn lower() -> strComplexity. 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