calculate_strpos

Function calculate_strpos 

Source
fn calculate_strpos<'a, V1, V2, T: ArrowPrimitiveType>(
    string_array: V1,
    substring_array: V2,
) -> Result<ArrayRef>
where V1: StringArrayType<'a, Item = &'a str>, V2: StringArrayType<'a, Item = &'a str>,
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