Skip to main content

find_operator_positions

Function find_operator_positions 

Source
pub fn find_operator_positions(sql: &str, op: &str) -> Vec<usize>
Expand description

Return the byte positions (relative to the start of sql) of every occurrence of op that falls inside a Text segment.