voca_rs 0.5.0

Voca_rs is inspired by Voca.js and string.py
Documentation

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

use voca_rs::*;

let input_string = "LazyLoad with XMLHttpRequest and snake_case";
let string_in_words = split::words(&input_string);
// => ["Lazy", "Load", "with", "XML", "Http", "Request", "and", "snake", "case"]
let words_in_string = &string_in_words.join(" ");
// => "Lazy Load with XML Http Request and snake case"
let snake_string = case::snake_case(chop::slice(&words_in_string, 13, 28));
// => "xml_http_request"
let trancated_string = chop::prune(&words_in_string, 15, "");
// => "Lazy Load..."

Documentation

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

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

Roadmap

Case

Chop

Count

Escape

Format

Index

Manipulate

Query

Split

Strip

Utils

Copyright

coded by Anatol Marezhanyi @e1r0nd_crg

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

License

Licensed under MIT License