OxL Reference

method str.chars

The chars (Unicode scalar values) in order.

Example:

oxl✓ checked in CI
fn main() io {
  print("{"abc".chars().len()}")
}
Output
3
pub(api) fn chars() -> List<char>

Since. 1.0.0-beta

Returns

List<char>

Effects

none declared (pure unless the body says otherwise)

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

See also