Rust String Utilities
Status
Description
rust_string_utils
is a Rust library providing various utility functions for string manipulation.
Repository
Crates.io
Documentation
Installation
Add the following to your Cargo.toml
:
[]
= "0.1.20"
List of methods
;
compare;
compare_ignore_case;
count_matches;
equals;
index_of;
index_of_from;
last_index_of;
is_blank;
is_empty;
join_char;
overlay;
replace;
replace_chars;
reverse;
rotate;
split;
split_with_separator;
end_with;
start_with;
swap_case;
timestamp_to_string;
trip;
remove;
delete_white_space;
remove_ignore_case;
find_range_between_delimiters;
get_text_including_delimiters;
find_range_between_delimiters;
count_string_bytes;
slice_string_between;
chop;
chomp;
append_if_missing_ignore_case;
append_if_missing;
prepend_if_missing_ignore_case;
prepend_if_missing;
is_alpha;
is_alphanumeric;
is_alphanumeric_space;
is_alpha_space;
is_ascii_printable;
byte_array_to_string
License
This project is licensed under either of
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)