1 unstable release
Uses old Rust 2015
0.0.1 | Mar 29, 2016 |
---|
#7 in #consists
Used in perdiem
8KB
Undup
A simple library that consists of utility functions for removing duplicate characters in a string.
Example
You can look at examples/simple.rs
and run it using cargo run --example simple
.
or
` extern crate undup;
use undup::undup_chars;
fn main() { let input = "The Quick Brown Fox Jumps Over The Lazy Dog........."; let output = undup_chars(&input, vec![' ', '.']); println!("{}", output); } `
License
GPL-2.0