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 snakestring = case::snakecase(&stringinwords[3..6].join(" "));
// => "xmlhttp_request"
```
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
Publish project: git push
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
- [ ] charAt
- [ ] codePointAt
- [ ] first
- [ ] graphemeAt
- [ ] last
- [ ] prune
- [ ] slice
- [ ] substr
- [ ] substring
- [ ] truncate
Count
- [ ] count
- [ ] countGraphemes
- [ ] countSubstrings
- [ ] countWhere
- [ ] countWords
Escape
- [ ] escapeHtml
- [ ] escapeRegExp
- [ ] unescapeHtml
Format
- [ ] format - link
- [ ] vformat - link
- [ ] parse - link
- [ ] get_field - link
- [ ] get_value - link
- [ ] checkunusedargs - link
- [ ] format_field - link
- [ ] convert_field - link
- [ ] sprintf - link
- [ ] vprintf - link
Index
- [ ] indexOf
- [ ] lastIndexOf
- [ ] search
Manipulate
- [ ] insert
- [ ] latinise
- [ ] pad
- [ ] padLeft
- [ ] padRight
- [ ] repeat
- [ ] replace
- [ ] replaceAll
- [ ] reverse
- [ ] reverseGrapheme
- [ ] slugify
- [ ] splice
- [ ] tr
- [ ] trim
- [ ] trimLeft
- [ ] trimRight
- [ ] wordWrap
Query
- [ ] endsWith
- [ ] includes
- [ ] isAlpha
- [ ] isAlphaDigit
- [ ] isBlank
- [ ] isDigit
- [ ] isEmpty
- [ ] isLowerCase
- [ ] isNumeric
- [ ] isString
- [ ] isUpperCase
- [ ] matches
- [ ] startsWith
Split
- [ ] chars
- [ ] codePoints
- [ ] graphemes
- [ ] split
- [ ] words
Strip
- [ ] stripBom
- [ ] stripTags
Template
- [ ] substitute - link
- [ ] safe_substitute - link
Util
- [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)
- [ ] printable - link
- [x] [WHITESPACE](https://e1r0nd.github.io/vocars/vocars/utils/constant.WHITESPACE.html)
- [ ] noConflict
- [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