You are viewing documentation about an older version (1.2.0). View latest version

snowflake.snowpark.functions.charindex¶

snowflake.snowpark.functions.charindex(target_expr: ColumnOrName, source_expr: ColumnOrName, position: Column | int | None = None) → Column[source]¶

Searches for target_expr in source_expr and, if successful, returns the position (1-based) of the target_expr in source_expr.