All functions > STRING

All functions in the STRING category.

Backend availability

DD Available DD Partially available DD Not available DD DuckDB · PG Postgres · CH ClickHouse · TR Trino · BQ BigQuery · SF Snowflake · DB Databricks · SV Serving

Case Conversion

FunctionDescriptionBackends
LOWER()Returns the string with all characters converted to lowercase.DDPGCHTRBQSFDBSV
UPPER()Returns the string with all characters converted to uppercase.DDPGCHTRBQSFDBSV
TITLE()Returns the string with the first letter of each whitespace-delimited word in uppercase and the...DDPGCHTRBQSFDBSV

Padding And Trimming

FunctionDescriptionBackends
TRIM()Returns the string with whitespace from both ends removed.DDPGCHTRBQSFDBSV
LTRIM()Returns the string with whitespace from the left (beginning) removed.DDPGCHTRBQSFDBSV
RTRIM()Returns the string with whitespace from the right (end) removed.DDPGCHTRBQSFDBSV
LPAD()Returns the string padded on the left to a specified length with a padding string.DDPGCHTRBQSFDBSV
RPAD()Returns the string padded on the right to a specified length with a padding string.DDPGCHTRBQSFDBSV

Search String

FunctionDescriptionBackends
STARTS_WITH()Returns TRUE if a string starts with a specified prefix.DDPGCHTRBQSFDBSV
ENDS_WITH()Returns TRUE if a string ends with a specified suffix.DDPGCHTRBQSFDBSV
POSITIONReturns the 1-based index of the first occurrence of a substring within a string.DDPGCHTRBQSFDBSV
STRPOS()Returns the position of a substring within a string, optionally finding the N-th occurrence.DDPGCHTRBQSFDBSV

Extraction String

FunctionDescriptionBackends
LEFT()Returns the first `n` characters of the string (or the full string when `n` is greater than its...DDPGCHTRBQSFDBSV
RIGHT()Returns the last `n` characters of the string (or the full string when `n` is greater than its...DDPGCHTRBQSFDBSV
SUBSTR()Returns a substring from a string starting at a specified position.DDPGCHTRBQSFDBSV
SPLIT()Returns an array of substrings from a string split by a delimiter.DDPGCHTRBQSFDBSV
SPLIT_PART()Returns a specific part of a string after splitting by a delimiter.DDPGCHTRBQSFDBSV

Transformation String

FunctionDescriptionBackends
REVERSE()Returns the string with all characters in reverse order.DDPGCHTRBQSFDBSV
REPLACE()Returns the string with all occurrences of a substring replaced with another substring.DDPGCHTRBQSFDBSV
FORMAT(...)Builds a VARCHAR from a C-style format string and one scalar argument per placeholder.DDPGCHTRBQSFDBSV
TRANSLATE()Returns a string with character-level replacements applied based on character-to-character mappings.DDPGCHTRBQSFDBSV
BASE64_ENCODE()Encodes a string as standard Base64 text.DDPGCHTRBQSFDBSV
BASE64_DECODE()Decodes a Base64 string back to plain text.DDPGCHTRBQSFDBSV
HEX_ENCODE()Encodes a string as a contiguous hexadecimal string (two hex digits per byte).DDPGCHTRBQSFDBSV
HEX_DECODE()Decodes a contiguous hexadecimal string back to plain text.DDPGCHTRBQSFDBSV
URL_ENCODE()Encodes a string for safe use in URL components using percent-encoding (RFC 3986).DDPGCHTRBQSFDBSV
URL_DECODE()Decodes a percent-encoded string (RFC 3986).DDPGCHTRBQSFDBSV

Concatenation

FunctionDescriptionBackends
CONCAT(...)Returns a single concatenated string from a list of strings.DDPGCHTRBQSFDBSV
|| [concatenation]Concatenates two strings; chains associate to the left (same underlying `CONCAT_FN` bundle as...DDPGCHTRBQSFDBSV
CONCAT_WS(...)Returns a concatenated string from a list of strings with a separator between each element.DDPGCHTRBQSFDBSV

Character

FunctionDescriptionBackends
LENGTH()Returns the number of characters in a string.DDPGCHTRBQSFDBSV
CHR()Returns the character corresponding to the given Unicode code point.DDPGCHTRBQSFDBSV
CODEPOINT()Returns the Unicode code point of a one-character string.DDPGCHTRBQSFDBSV

Distance

FunctionDescriptionBackends
HAMMING_DISTANCE()Returns the Hamming distance between two strings of equal length.DDPGCHTRBQSFDBSV
LEVENSHTEIN_DISTANCE()Returns the Levenshtein (edit) distance between two strings.DDPGCHTRBQSFDBSV

Phonetic

FunctionDescriptionBackends
SOUNDEX()Returns a four-character Soundex code representing the phonetic sound of a string.DDPGCHTRBQSFDBSV

Hash

FunctionDescriptionBackends
MD5()Returns the MD5 hash of a string as a 32-character hexadecimal string.DDPGCHTRBQSFDBSV
SHA1()Returns the SHA-1 hash of a string as a 40-character hexadecimal string.DDPGCHTRBQSFDBSV
SHA256()Returns the SHA-256 hash of a string as a 64-character hexadecimal string.DDPGCHTRBQSFDBSV

Regex

FunctionDescriptionBackends
REGEX_CONTAINS()Returns TRUE if the haystack string contains a match for the regular expression pattern (substring...DDPGCHTRBQSFDBSV
REGEX_MATCH()Returns TRUE if the entire string matches the regular expression pattern. Unlike REGEX_CONTAINS,...DDPGCHTRBQSFDBSV
REGEX_EXTRACT_FIRST()Returns the first substring that matches the pattern, optionally selecting a capture group index (0...DDPGCHTRBQSFDBSV
REGEX_EXTRACT_ALL()Returns an array of every non-overlapping substring that matches the pattern, in left-to-right...DDPGCHTRBQSFDBSV
REGEX_SPLIT()Splits a string by a regular expression pattern and returns the parts between matches as an array.DDPGCHTRBQSFDBSV
REGEX_REPLACE_FIRST()Returns the haystack with the first regular-expression match replaced by the replacement string.DDPGCHTRBQSFDBSV
REGEX_REPLACE_ALL()Returns the haystack with every non-overlapping regular-expression match replaced by the...DDPGCHTRBQSFDBSV

Summary
Functions in this category: 46

This documentation is automatically generated from the FeatureMesh registry.