reddish

A Rust utility library, making easier by taking the hassle out of working.
Usage
Add this to your Cargo.toml:
[]
= "0.2.0"
Example
extern crate reddish;
use *;
Features
-
“String” Methods
.camel_case([string='']): Convertsstringto camel case..capitalize([string='']): Capitalize first char ofstring..kebab_case([string='']): Convertsstringto kebab case..snake_case([string='']): Convertsstringto snake case..title_case([string='']): Convertsstringto title case..pad([string=''], pad_length, pad_char=' '): Adds padding of lengthpad_lengthto both ends ofstringusing optionalpad_char, if nopad_charis supplied thepad_chardefaults to ' '.pad_end([string=''], pad_length, pad_char=' '): Adds padding of lengthpad_lengthto the end ofstringusing optionalpad_char, if nopad_charis supplied thepad_chardefaults to ' '.truncate([string=''], truncate_length): Truncatesstringtotruncate_length.
-
“Array” Methods
.concat(vec: Vec<T>, values: Vec<T>): Creates a new array concatenating an array with any additional array values..difference(vec: Vec<T>, values: Vec<T>): Creates an array of values not included in the other given arrays using the same for equality comparisons..find_index(vec: Vec<T>, find: F): Returns the index of the first found element..find_last_index(vec: Vec<T>, find: F): Iterates over elements of collection from right to left, and returns the index of the found element..join(vec: Vec<T>, sep: &str): Converts all elements in array into a string separated by separator.
-
“Object” Methods
- TODO:
-
“Collection” Methods
- TODO: