Last updated
Was this helpful?
Last updated
Was this helpful?
CONCAT(string1, string2...)
Description
Concatenate one or more strings into a single string.
Example
Result: Acho_Studio
ASCII(string)
Description
Return the ASCII code value of the first character in a string.
Example
Result: 97
Result: 97
ENDS_WITH(string, substring)
Description
Return True
if the string ends with the substring.
Example
Result: True
Result: False
INITCAP(string, [delimiters])
Description
Make the first letter of each word uppercase and the rest of the letters lowercase. Words are delimited by white space or other characters that you can specify in delimiters.
Example
Result: "Acho Studio"
Result: "Acho_Studio"
INSTR(string, subsstring, [position], [occurence])
Description
Return the position of the first substring in the string. 0 is returned when no match is found. Position determines where the search starts in a string. Occurrence refers to extract the i-th occurrence (ex: 2 means second occurrence).
Example
Result: 4 (the position of the first "o")
Result: 11 (the position of the first "o" from the sixth character)
Result: 2 (the position of the second "o" from the first character)
LEFT(string, num_chars)
Description
Return the specified number of characters from the start of the given string.
Example
Result: "Ac"
LENGTH(string)
Description
Return the length of a string in characters or bytes.
Example
Result: 4
LOWER(string)
Description
Convert a text string to all lowercase letters.
Example
Result: "acho"
LTRIM(string, [substring])
Description
Remove all leading spaces. If you want to remove strings other than spaces, you can optionally specify a substring.
Example
Result: "Acho "
Result: "Acho#"
REGEXP_CONTAINS(string, regexp)
Description
Example
Result: True
Result: False
REGEXP_EXTRACT(string, regexp, position, occurence)
Description
Example
Result: "contact"
REPLACE(original_string, from_value, to_value)
Description
Replace all occurrences of from_value with to_value in original_string. If the from_value is not found, the string is unchanged.
Example
Result: "apple cobbler"
RIGHT(string, num_chars)
Description
Return the specified number of characters from the end of the given string.
Example
Result: "ho"
RTRIM(string, [substring])
Description
Remove all trailing spaces. If you want to remove strings other than spaces, you can optionally specify a substring.
Example
Result: " Acho"
Result: "###Acho"
STARTS_WITH(string, substring)
Description
Return True if the string ends with the substring.
Example
Result: True
Result: False
STRPOS(string, substring)
Description
Return the position of the substring within a specified string. If the substring occurs in several positions, it will only return the first occurrence.
Example
Result: 4
SUBSTR(string, position, [length])
Description
Extract a substring from the given string, which starts at the position. The position refers to the position of a character in the given string. You can optionally specify the length to decide the number of characters that you want to extract.
Example
TRIM(string, [substring])
Description
Remove all leading and trailing spaces. If you want to remove strings other than spaces, you can optionally specify a substring.
Example
Result: "Acho"
Result: "Acho"
UPPER(string)
Description
Convert a text string to all uppercase letters.
Example
Result: "ACHO"
Return True
if a string is a partial match for the regular expression pattern. To see supported regular expression, visit .
Extracts the substring of the given string that matches the regular expression pattern. Returns NULL if there is no match. To see supported regular expression, visit . Position determines where the search starts in a string. Occurrence refers to extract i-th occurrence (ex: 2 means second occurrence).