pub fn grapheme_at(subject: &str, position: usize) -> String
Get a grapheme from subject
at specified position
.
subject
- The string to extract from.
position
- The position to get the grapheme.
use voca_rs::*;
chop::grapheme_at("cafe\u{0301}", 3);
chop::grapheme_at("a̐éö̲", 0);