Skip to main content

remove_spaces

Function remove_spaces 

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

Remove spaces from a spaced hex string

ยงExample

use dodecet_encoder::hex;

let unspaced = hex::remove_spaces("123 456 789");
assert_eq!(unspaced, "123456789");