Skip to main content

str_search

Function str_search 

Source
pub fn str_search(s: &str, re_val: &Value) -> Result<Value, String>
Expand description

str.search(re): char index of the first match, or -1.