Segments a string.
Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
See the Rust documentation for segment_utf16
for more information.
Static
createConstruct an [GraphemeClusterSegmenter
].
See the Rust documentation for new
for more information.
An ICU4X grapheme-cluster-break segmenter, capable of finding grapheme cluster breakpoints in strings.
See the Rust documentation for
GraphemeClusterSegmenter
for more information.