#[must_use]pub fn mismatched<T>(s: &str, delim_start: &str, delim_end: &str) -> Option<T> where
T: FromStr,
T::Err: Debug,
Returns a value between matched delimiters from part of a string.
self
- The delimited string to search.
delim_start
- The opening delimiter.
delim_end
- The closing delimiter.
If the matched value cannot be parsed to the specified type.