[][src]Function voca_rs::manipulate::reverse_grapheme

pub fn reverse_grapheme(subject: &str) -> String

Reverses the subject taking care of surrogate pairs and combining marks.

Arguments

Example

use voca_rs::*;
manipulate::reverse_grapheme("café");
// => "éfac"
manipulate::reverse_grapheme("a̐éö̲");
// => "ö̲éa̐"
use voca_rs::Voca;
"café"._reverse_grapheme();
// => "éfac"