rust_string_utils-0.1.6 has been yanked.
Rust String Utilities
Description
rust_string_utils
is a Rust library providing various utility functions for string manipulation.
Repository
Installation
Add the following to your Cargo.toml
:
[]
= "0.1.0"
Usage
Here are some examples of how to use the functions provided by this library:
Check if a string is empty
use is_empty;
let result = is_empty;
assert_eq!;
Check if a string is blank
use is_blank;
let result = is_blank;
assert_eq!;
Reverse a string
use reverse;
let result = reverse;
assert_eq!;
Check if a string starts with a prefix
use start_with;
let result = start_with;
assert_eq!;
Join characters with a delimiter
use join_char;
let result = join_char;
assert_eq!;
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)