Skip to main content

split_normalized_nfkc

Function split_normalized_nfkc 

Source
pub fn split_normalized_nfkc(text: &[u8]) -> (&[u8], &[u8])
Expand description

Split Latin1 text into (head, tail) such that the first byte of tail is the first byte of input that is not in NFKC. If text is fully in NFKC, tail is empty.