[][src]Function utf8_slice::len

pub fn len(s: &str) -> usize

Fetches the length in characters of an utf8/unicode string

Arguments

  • s - The string of which to fetch the length