#string #apache #org

rust_string_utils

String utilities for rust based on org.apache.commons.lang3

2 releases

0.1.20 Nov 7, 2024
0.1.19 Nov 1, 2024
0.1.18 Oct 30, 2024

#264 in Text processing

Download history 556/week @ 2024-10-11 719/week @ 2024-10-18 284/week @ 2024-10-25 212/week @ 2024-11-01 72/week @ 2024-11-08 6/week @ 2024-11-15 3/week @ 2024-11-22 2/week @ 2024-11-29

147 downloads per month

MIT/Apache

61KB
1K SLoC

Rust String Utilities

Status

Rust codecov crate.io downloads crate.io version docs

Description

rust_string_utils is a Rust library providing various utility functions for string manipulation.

Repository

GitHub Repository

Crates.io

Rust_String_Utils

Documentation

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

Dependencies

~1MB
~18K SLoC