String
Returns the ASCII code for the first character of a string. If the string is empty, 0 is returned.
Returns the Base64 encoding of a binary string.
Trims leading and trailing characters from a string.
Returns the length of an input string.
Returns the character length of the input string.
Converts a Unicode code point into the character that matches the input Unicode character. If an invalid code point is specified, an empty string is returned.
Tests whether an expression column matches a pattern column. Comparisons are case-sensitive.
Concatenates two or more strings. NULL
values are ignored.
Concatenate with separator. Returns a string resulting from the joining of two or more string values in an end-to-end manner. Uses the first argument as the separator between each string.
Returns whether a string ends with another string. The comparison is case-sensitive.
Returns a binary value for the given hexadecimal string.
Returns the hexadecimal encoding of an expression.
Tests whether an expression matches a pattern. The comparison is case-insensitive.
Returns the input string with the first letter of each word in uppercase and the subsequent letters in the word are in lowercase).
Returns the position of the first occurrence of a string when it is contained in another string. If no such occurrence is found, a zero is returned. The comparison is case-sensitive.
Returns whether an expression is valid UTF-8.
Returns the input expression with all the characters converted to lowercase.
Returns the left-most substring. The function name must be enclosed in double quotes ("LEFT").
Returns the length of an input string. If the character encoding isn’t specified, it assumes to UTF8.
Computes the Levenshtein distance between two input expressions.
Tests whether an expression matches one or more patterns. Comparisons are case-sensitive.
Searches for the first occurrence of the first argument in the second argument and if found, returns the position the of the first argument in the second argument. The first character in a string is position 1. Returns 0 if the substring isn’t found in the expression.
Returns the input expression with all the characters converted to lowercase.
Left pads a string with spaces or specified characters to reach the number of characters specified as a parameter.
Removes leading spaces or characters from a string.
Returns a masked version of a string.
Returns a masked version of a string with the first num_chars
characters masked. By default, if you do not provide a mask value, the first four characters are masked.
Returns a consistent hash value based on the input string. This function returns NULL
for non-string types.
Returns a masked version of a string with the last num_chars
characters masked. By default, if you do not provide a mask value, the last four characters are masked.
Returns a masked version of a string with the first num_chars
characters unmasked. By default, if you do not provide a value, the first four characters are shown.
Returns a masked version of a string with the last num_chars
characters unmasked. By default, if you do not provide a value, the last four characters are shown.
Returns the length of the string in bytes.
Returns the position of the first occurrence of a substring within another string.
Returns a result that can be used as a properly escaped data value in a SQL statement.
Extracts the first string in expression that matches the REGEXP
expression and corresponds to the REGEX
group index.
Returns true
when the specified regular expression matches values in a column. Otherwise, returns false
.
Returns true
when the specified regular expression matches values in a column. Otherwise, returns false
.
Finds strings that match the given regular expression and replaces the strings with the given string.
Splits an input string by using a regular expression according to a keyword and an integer value.
Builds a string by repeating the input for the specified number of times.
Repeats the given string n times.
Removes all occurrences of a specified substring and replaces them with another string.
Reverses the order of characters in a string.
Returns the right-most substring. The function name must be enclosed in double quotes (“RIGHT”).
Right pads a string with spaces or specified characters to reach the number of characters specified as a parameter.
Removes trailing spaces or characters from a string.
Tests whether the entire expression matches a pattern.
Returns a string that contains a phonetic representation of the input string.
Splits a given string at a specified character and returns the requested part.
Returns whether a string starts with another string. The comparison is case-sensitive.
Searches for the first occurrence of the substring in the given expression and returns the position of where the substring begins. Searching binary values is also supported.
Returns the portion of the string from the specified base expression starting at the specified characters.
Returns a substring of an expression before the specified number of delimiters occurs.
Converts a string that is encoded in the specified character set to UTF-8.
Returns a hexadecimal string for the given binary value.
Translates the base expression from the source characters/expression to the target characters/expression.
Removes leading, trailing, or both spaces or characters from a string.
Returns the input expression with all the characters converted to uppercase.
Decodes a Base64-encoded string.
Converts the hexadecimal number into the bytes represented by a number.
Returns the input expression with all the characters converted to uppercase.
Last updated