2 releases
new 0.1.20 | Nov 7, 2024 |
---|---|
0.1.19 |
|
0.1.18 |
|
#225 in Text processing
1,698 downloads per month
61KB
1K
SLoC
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
:
[dependencies]
rust_string_utils = "0.1.20"
List of methods
rust_string_utils::byte_array_to_string;
rust_string_utils::compare;
rust_string_utils::compare_ignore_case;
rust_string_utils::count_matches;
rust_string_utils::equals;
rust_string_utils::index_of;
rust_string_utils::index_of_from;
rust_string_utils::last_index_of;
rust_string_utils::is_blank;
rust_string_utils::is_empty;
rust_string_utils::join_char;
rust_string_utils::overlay;
rust_string_utils::replace;
rust_string_utils::replace_chars;
rust_string_utils::reverse;
rust_string_utils::rotate;
rust_string_utils::split;
rust_string_utils::split_with_separator;
rust_string_utils::end_with;
rust_string_utils::start_with;
rust_string_utils::swap_case;
rust_string_utils::timestamp_to_string;
rust_string_utils::trip;
rust_string_utils::remove;
rust_string_utils::delete_white_space;
rust_string_utils::remove_ignore_case;
rust_string_utils::find_range_between_delimiters;
rust_string_utils::get_text_including_delimiters;
rust_string_utils::find_range_between_delimiters;
rust_string_utils::count_string_bytes;
rust_string_utils::slice_string_between;
rust_string_utils::chop;
rust_string_utils::chomp;
rust_string_utils::append_if_missing_ignore_case;
rust_string_utils::append_if_missing;
rust_string_utils::prepend_if_missing_ignore_case;
rust_string_utils::prepend_if_missing;
rust_string_utils::is_alpha;
rust_string_utils::is_alphanumeric;
rust_string_utils::is_alphanumeric_space;
rust_string_utils::is_alpha_space;
rust_string_utils::is_ascii_printable;
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)
Dependencies
~1MB
~18K SLoC