Function graphemes
Source pub fn graphemes(s: &str) -> Vec<String>
Expand description
Create a Vec of graphemes from a &str
use gstring::*;
const S: &str = "a\u{310}e\u{301}o\u{308}\u{332}";
const G: &[&str] = &["a\u{310}", "e\u{301}", "o\u{308}\u{332}"];
let g = graphemes(S);
assert_eq!(g, G);