Skip to content

A collection of functions for string manipulation used by Kalgan Framework.

License

Notifications You must be signed in to change notification settings

eduardocasas/kalgan-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kalgan-string

A collection of functions for string manipulation used by Kalgan Framework.

Examples

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);

Documentation

For further information please visit:

License

This crate is licensed under either of the following licenses:

About

A collection of functions for string manipulation used by Kalgan Framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages