Function kalgan_string::strip_left
source · [−]Expand description
Removes the given character at the beginning of the string.
Examples
use kalgan_string;
assert_eq!(kalgan_string::strip_left("Hello World", 'H'), "ello World");
Removes the given character at the beginning of the string.
use kalgan_string;
assert_eq!(kalgan_string::strip_left("Hello World", 'H'), "ello World");