voca_rs

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(" ");
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 test: cargo test
Build docs: cargo doc
-> ./target/doc/voca_rs/index.html
Build project: cargo build
-> ./target/debug
Roadmap
Case
- [x] [camelcase](https://e1r0nd.github.io/vocars/vocars/case/fn.camelcase.html)
- [x] [capitalize](https://e1r0nd.github.io/vocars/vocars/case/fn.capitalize.html)
- [x] [decapitalize](https://e1r0nd.github.io/vocars/vocars/case/fn.decapitalize.html)
- [x] [kebabcase](https://e1r0nd.github.io/vocars/vocars/case/fn.kebabcase.html)
- [x] [lowercase](https://e1r0nd.github.io/vocars/vocars/case/fn.lowercase.html)
- [x] [pascalcase](https://e1r0nd.github.io/vocars/vocars/case/fn.pascalcase.html)
- [x] [shoutykebabcase](https://e1r0nd.github.io/vocars/vocars/case/fn.shoutykebabcase.html)
- [x] [shoutysnakecase](https://e1r0nd.github.io/vocars/vocars/case/fn.shoutysnakecase.html)
- [x] [snakecase](https://e1r0nd.github.io/vocars/vocars/case/fn.snakecase.html)
- [x] [swapcase](https://e1r0nd.github.io/vocars/vocars/case/fn.swapcase.html)
- [x] [titlecase](https://e1r0nd.github.io/vocars/vocars/case/fn.titlecase.html)
- [x] [uppercase](https://e1r0nd.github.io/vocars/vocars/case/fn.uppercase.html)
Chop
- [x] [charat](https://e1r0nd.github.io/vocars/vocars/chop/fn.charat.html)
- [ ] codePointAt - link
- [x] [first](https://e1r0nd.github.io/vocars/vocars/chop/fn.first.html)
- [x] [graphemeat](https://e1r0nd.github.io/vocars/vocars/chop/fn.graphemeat.html)
- [x] [last](https://e1r0nd.github.io/vocars/vocars/chop/fn.last.html)
- [x] [prune](https://e1r0nd.github.io/vocars/vocars/chop/fn.prune.html)
- [x] [slice](https://e1r0nd.github.io/vocars/vocars/chop/fn.slice.html)
- [x] [substr](https://e1r0nd.github.io/vocars/vocars/chop/fn.substr.html)
- [x] [substring](https://e1r0nd.github.io/vocars/vocars/chop/fn.substring.html)
- [x] [truncate](https://e1r0nd.github.io/vocars/vocars/chop/fn.truncate.html)
Count
- [x] [count](https://e1r0nd.github.io/vocars/vocars/count/fn.count.html)
- [x] [countgraphemes](https://e1r0nd.github.io/vocars/vocars/count/fn.countgraphemes.html)
- [x] [countsubstrings](https://e1r0nd.github.io/vocars/vocars/count/fn.countsubstrings.html)
- [ ] countWhere - link
- [x] [countwords](https://e1r0nd.github.io/vocars/vocars/count/fn.countwords.html)
Escape
- [ ] escapeHtml - link
- [ ] escapeRegExp - link
- [ ] unescapeHtml - link
Format
- [ ] format - link
- [ ] vformat - link
- [ ] parse - link
- [ ] get_field - link
- [ ] get_value - link
- [ ] checkunusedargs - link
- [ ] format_field - link
- [ ] convert_field - link
- [ ] substitute - link
- [ ] safe_substitute - link
- [ ] sprintf - link
- [ ] vprintf - link
Index
- [x] [indexof](https://e1r0nd.github.io/vocars/vocars/index/fn.indexof.html)
- [x] [lastindexof](https://e1r0nd.github.io/vocars/vocars/index/fn.lastindexof.html)
- [ ] search - link
Manipulate
- [x] [insert](https://e1r0nd.github.io/vocars/vocars/query/fn.insert.html)
- [ ] latinise - link
- [ ] pad - link
- [ ] padLeft - link
- [ ] padRight - link
- [x] [repeat](https://e1r0nd.github.io/vocars/vocars/query/fn.repeat.html)
- [ ] replace - link
- [ ] replaceAll - link
- [x] [reverse](https://e1r0nd.github.io/vocars/vocars/query/fn.reverse.html)
- [x] [reversegrapheme](https://e1r0nd.github.io/vocars/vocars/query/fn.reversegrapheme.html)
- [ ] slugify - link
- [ ] splice - link
- [ ] tr - link
- [x] [trim](https://e1r0nd.github.io/vocars/vocars/manipulate/fn.trim.html)
- [x] [trimleft](https://e1r0nd.github.io/vocars/vocars/manipulate/fn.trimleft.html)
- [x] [trimright](https://e1r0nd.github.io/vocars/vocars/manipulate/fn.trimright.html)
- [ ] wordWrap - link
Query
- [x] [endswith](https://e1r0nd.github.io/vocars/vocars/query/fn.endswith.html)
- [x] [includes](https://e1r0nd.github.io/vocars/vocars/query/fn.includes.html)
- [x] [isalpha](https://e1r0nd.github.io/vocars/vocars/query/fn.isalpha.html)
- [x] [isalphadigit](https://e1r0nd.github.io/vocars/vocars/query/fn.isalphadigit.html)
- [x] [isBlank](https://e1r0nd.github.io/vocars/vocars/query/fn.is_blank.html)
- [x] [isdigit](https://e1r0nd.github.io/vocars/vocars/query/fn.isdigit.html)
- [x] [isempty](https://e1r0nd.github.io/vocars/vocars/query/fn.isempty.html)
- [x] [islowercase](https://e1r0nd.github.io/vocars/vocars/query/fn.islowercase.html)
- [x] [isnumeric](https://e1r0nd.github.io/vocars/vocars/query/fn.isnumeric.html)
- [x] [isuppercase](https://e1r0nd.github.io/vocars/vocars/query/fn.isuppercase.html)
- [ ] matches - link
- [x] [startswith](https://e1r0nd.github.io/vocars/vocars/query/fn.startswith.html)
Split
- [x] [chars](https://e1r0nd.github.io/vocars/vocars/split/fn.chars.html)
- [ ] codePoints - link
- [x] [graphemes](https://e1r0nd.github.io/vocars/vocars/split/fn.graphemes.html)
- [x] [split](https://e1r0nd.github.io/vocars/vocars/split/fn.split.html)
- [x] [words](https://e1r0nd.github.io/vocars/vocars/split/fn.words.html)
Strip
- [ ] stripBom - link
- [ ] stripTags - link
Utils
- [x] [ASCIILETTERS](https://e1r0nd.github.io/vocars/vocars/utils/constant.ASCIILETTERS.html)
- [x] [ASCIILOWERCASE](https://e1r0nd.github.io/vocars/vocars/utils/constant.ASCIILOWERCASE.html)
- [x] [ASCIIUPPERCASE](https://e1r0nd.github.io/vocars/vocars/utils/constant.ASCIIUPPERCASE.html)
- [x] [DIGITS](https://e1r0nd.github.io/vocars/vocars/utils/constant.DIGITS.html)
- [x] [HEXDIGITS](https://e1r0nd.github.io/vocars/vocars/utils/constant.HEXDIGITS.html)
- [x] [OCTDIGITS](https://e1r0nd.github.io/vocars/vocars/utils/constant.OCTDIGITS.html)
- [x] [PUNCTUATION](https://e1r0nd.github.io/vocars/vocars/utils/constant.PUNCTUATION.html)
- [x] [PRINTABLE](https://e1r0nd.github.io/vocars/vocars/utils/constant.PRINTABLE.html)
- [x] [WHITESPACE](https://e1r0nd.github.io/vocars/vocars/utils/constant.WHITESPACE.html)
- [x] [VERSION](https://e1r0nd.github.io/vocars/vocars/utils/constant.VERSION.html)
Copyright
coded by Anatol Marezhanyi @e1r0nd_crg
https://linkedin.com/in/merezhany/
https://www.youtube.com/c/AnatolMerezhanyi
License
Licensed under MIT License