pub trait StringExt {
    fn substring_before(&self, search: &str) -> String;
    fn substring_after(&self, search: &str) -> String;
    fn substring_between(&self, start: &str, end: &str) -> String;
}

Required methods

Returns the string before the search string.

Returns the string after the search string.

Returns the string between the start and end bookend strings.

Implementations on Foreign Types

Implementors