Skip to main content

strip_display_separators

Function strip_display_separators 

Source
pub fn strip_display_separators(s: &str) -> String
Expand description

Strip every display separator (SPEC §3.2) — used on intake before decode. Idempotent; strips ONLY separators (other chars pass through, so a malformed card is never silently “cleaned” into validity).