Expand description
Useful utilities for manipulating Vietnamese string & characters.
Functions
- Strip off tone mark & modifications from an input char.
- Extract letter modifications from an input string.
- Extract a tone mark from an input string. There can only be one tone mark.
- Extract a tone mark from an input char.
- Append an ư character to the input string if it doesn’t contain any vowel.
- Check if a character is a vowel
- Perform letter modification or fallback to a callback function.
- Remove modification from an input char.
- Remove tone mark from an input char.
- Replace the last character in an input char.
- Replace a character at an index in an input char.