[−][src]Crate reword
Provides nice formatting of names.
let s = "(Even),Olsson&Rogstadkjærnet?"; assert_eq!(reword::name(s), "Even Olsson Rogstadkjærnet"); assert_eq!(reword::name_with_limit(s, 4), "EOR");
Functions
name | Formats the input string as a name. |
name_with_limit | Formats the input string as a name and limits the length of the name. |