#[must_use]pub fn matched<T>(s: &str, delim: &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
- The delimiter to match within.
If the matched value cannot be parsed to the specified type.