Skip to main content

split_normalized_nfkd

Function split_normalized_nfkd 

Source
pub fn split_normalized_nfkd(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 NFKD. If text is fully in NFKD, tail is empty.