You are viewing documentation about an older version (1.1.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] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.1.0/src/snowflake/snowpark/functions.py#L1219-L1232)

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