Function datafusion_physical_expr::string_expressions::instr
source · pub fn instr<T: OffsetSizeTrait>(args: &[ArrayRef]) -> Result<ArrayRef>
Expand description
Returns the position of the first occurrence of substring in string. The position is counted from 1. If the substring is not found, returns 0. For example, instr(‘Helloworld’, ‘world’) = 6.