Crates.io | kalgan_string |
lib.rs | kalgan_string |
version | 0.9.1 |
source | src |
created_at | 2022-02-20 16:39:24.33754 |
updated_at | 2022-02-24 13:52:54.175473 |
description | A collection of functions for string manipulation used by Kalgan Framework. |
homepage | https://kalgan.eduardocasas.com |
repository | https://github.com/eduardocasas/kalgan-string |
max_upload_size | |
id | 535828 |
size | 6,363 |
A collection of functions for string manipulation used by Kalgan Framework.
use kalgan_string;
assert_eq!(kalgan_string::strip("-Hello World-", '-'), "Hello World");
use kalgan_string;
assert_eq!(kalgan_string::strip_right("Hello World", 'd'), "Hello Worl");
use kalgan_string;
assert_eq!(kalgan_string::strip_left("Hello World", 'H'), "ello World");
use kalgan_string;
assert_eq!(kalgan_string::strip_both("Hello World", 'H', 'd'), "ello Worl");
use kalgan_string;
assert_eq!(kalgan_string::is_numeric("1.000"), true);
For further information please visit:
This crate is licensed under either of the following licenses: