voca_rs Build Status Crates version codecov license

Voca_rs is a Rust library for manipulating strings.

Voca_rs is inspired by Voca.js and string.py

TL;DR

```rust use voca_rs::*;

let inputstring = "LazyLoad with XMLHttpRequest and snakecase"; let stringinwords = split::words(&inputstring); // => ["Lazy", "Load", "with", "XML", "Http", "Request", "and", "snake", "case"] let wordsinstring = &stringinwords.join(" "); // => "Lazy Load with XML Http Request and snake case" let snakestring = case::snakecase(chop::slice(&wordsinstring, 13, 28)); // => "xmlhttprequest" let trancatedstring = chop::prune(&wordsinstring, 15, ""); // => "Lazy Load..." ```

Documentation

See the complete documentation at https://e1r0nd.github.io/voca_rs/

Run tests: cargo test
Build docs: cargo doc -> ./target/doc/voca_rs/index.html
Build a project: cargo build -> ./target/debug

Functions

Case

Chop

Count

Escape

Index

Manipulate

Query

Split

Strip

Utils

Roadmap

Chop

Count

Format

Index

Manipulate

Query

Split

Strip

Copyright

coded by Anatol Marezhanyi @e1r0nd_crg

https://linkedin.com/in/merezhany/
https://www.youtube.com/c/AnatolMerezhanyi

License

Licensed under MIT License