Skip to main content

sanitize_product_code

Function sanitize_product_code 

Source
pub fn sanitize_product_code(code: &str) -> String
Expand description

Removes all characters that are NOT A–Z, a–z, or 0–9.