strtools is a rust library for various helpful string extensions. It is under active development and adding more features is planned, criticism and contributions are welcome.
```rust use strtools::StrTools;
// split a string by some separator but ignore escaped ones let parts: Vec<_> = r"this string\ is split by\ spaces unless they are\ escaped" .splitnonescaped('\', ' ') .collect();
assert_eq!( parts, [ "this", "string is", "split", "by spaces", "unless", "they", "are escaped" ] ); ```
strtools is currently licensed under the MIT license.