Skip to main content

find_top_level

Function find_top_level 

Source
pub fn find_top_level(s: &str, needle: &str) -> Option<usize>
Expand description

Byte index of the first needle in s that sits outside every delimiter pair and string literal.