[][src]Function wpslugify::sanitize_and_split

pub fn sanitize_and_split(title: &str) -> Vec<String>

Sanitize a string and return an array of the atomized words, all lowercased. This function is here because there are other uses for slugified titles than just as slugs, and clients may want to limit the length of a slug, remove stopwords or just "a|an|the" language articles, or other modifications.