Module chars

Source
Expand description

Index by chars.

Functionsยง

count
Counts the chars in a string slice.
from_byte_idx
Converts from byte-index to char-index in a string slice.
to_byte_idx
Converts from char-index to byte-index in a string slice.