simple/
simple.rs

1extern crate undup;
2
3use undup::undup_chars;
4
5fn main() {
6    let input = "The   Quick     Brown Fox       Jumps  Over The    Lazy Dog.........";
7    let output = undup_chars(&input, vec![' ', '.']);
8    println!("{}", output);
9}