Skip to main content

split_normalized_nfd

Function split_normalized_nfd 

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