[][src]Function voca_rs::split::graphemes

pub fn graphemes(subject: &str) -> Vec<&str>

Splits subject into an array of graphemes

Arguments

Example

use voca_rs::*;
split::graphemes("a̐éö̲\r\n");
// => ["a̐", "é", "ö̲", "\r\n"]
use voca_rs::Voca;
"a̐éö̲\r\n"._graphemes();
// => ["a̐", "é", "ö̲", "\r\n"]