Produces a display-friendly version of a serial number by removing non-printable characters and collapsing whitespace.
The raw serial number string
Display-friendly serial number
serialNumberDisplay("EDK\x00123\x1F") // returns "EDK123" Copy
serialNumberDisplay("EDK\x00123\x1F") // returns "EDK123"
Produces a display-friendly version of a serial number by removing non-printable characters and collapsing whitespace.