Skip to main content

slugify

Function slugify 

Source
pub fn slugify(title: &str) -> String
Expand description

A URL path segment made of a title: its letters and digits, of any script, in lowercase, with each run of other characters as one - and none at either end. Empty when the title has no letters or digits, so the caller picks a fallback.