Function datafusion_physical_expr::unicode_expressions::strpos
source · pub fn strpos<T: ArrowPrimitiveType>(args: &[ArrayRef]) -> Result<ArrayRef>where
T::Native: OffsetSizeTrait,
Expand description
Returns starting index of specified substring within string, or zero if it’s not present. (Same as position(substring in string), but note the reversed argument order.) strpos(‘high’, ‘ig’) = 2 The implementation uses UTF-8 code points as characters