Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
instr in datafusion::physical_expr::string_expressions - Rust
[go: Go Back, main page]

pub fn instr<T>(
    args: &[Arc<dyn Array>]
) -> Result<Arc<dyn Array>, DataFusionError>
where T: OffsetSizeTrait,
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.