Function analiticcl::distance::common_prefix_length[][src]

pub fn common_prefix_length(s1: &[CharIndexType], s2: &[CharIndexType]) -> u16

Computes if the strings share a common prefix, and if so, how long it is