Function remove_chars

Source
pub fn remove_chars(input: &str, chars: HashSet<char>) -> String
Expand description

Returns a new String where all specified characters are removed

ยงArguments

  • input - Input String to remove chars from
  • chars - chars to remove