Function wagon_utils::rem_first_and_last_char
source · pub fn rem_first_and_last_char(value: &str) -> String
Expand description
Removes the first and last character of a string.
§Example
use wagon_utils::rem_first_and_last_char;
let s = "123";
assert_eq!("2", rem_first_and_last_char(s));