Function bookdata::cleaning::names::preclean

source ·
fn preclean<'a>(name: &'a str) -> Option<&'a str>
Expand description

Pre-clean a string without copying.

Many strings don’t need advanced cleaning. This method tries to pre-clean a string. If the string cannot be pre-cleaned, it returns None.