Learn the syntax of the substring function of the SQL language in Databricks SQL and Databricks Runtime.
substring_indexfunction Applies to: Databricks SQL Databricks Runtime Returns the substring ofexprbefore thecountoccurrence of the delimiterdelim. Syntax substring_index(expr, delim, count) Arguments expr: ASTRINGorBINARYexpression. delim: An expression matching the type ofexprspecifying the delim...