Function delim::prefixed_s[][src]

#[must_use]pub fn prefixed_s<'a>(s: &'a str, delim: &str, len: usize) -> Option<&'a str>

Returns a substring of bytes following a prefix delimiter.

Arguments

  • self - The delimited string to search.
  • delim - The prefix delimiter.
  • len - The length of the prefixed substring, in bytes.