Counts extended grapheme clusters without allocation.
Example: count, error := grapheme_count("éx"); gives 2.
Signature
grapheme_count :: (
text: string,
options: Unicode_Text_Options = .{}
) -> (int, Unicode_Text_Error)
Counts extended grapheme clusters without allocation.
Example: count, error := grapheme_count("éx"); gives 2.
grapheme_count :: (
text: string,
options: Unicode_Text_Options = .{}
) -> (int, Unicode_Text_Error)