Function delim::matched_s [−][src]
#[must_use]pub fn matched_s<'a>(s: &'a str, delim: &str) -> Option<&'a str>
Returns a substring between enclosing matched delimiters.
Arguments
self
- The delimited string to search.delim
- The enclosing delimiter.