Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.oxla.com/llms.txt

Use this file to discover all available pages before exploring further.

String functions are used to analyze and manipulate string values. Oxla supports the following string related functions and operators:

String Functions

FunctionDescription
LENGTH()Returns the number of characters in a string
LOWER()Makes string lowercase
UPPER()Makes string upper case
STARTS_WITH()Checks if a string starts with a specified substring
ENDS_WITH()Checks if a string ends with a specified substring
CONCAT()Adds two or more strings together
SUBSTR()Extracts a substring from a string
STRPOS()Finds the position at which the substring starts within the string
REGEXP_MATCH()Matches a POSIX regular expression pattern to a string
REGEXP_REPLACE()Substitutes new text for substrings that match POSIX regular expression patterns
REPLACE()Finds and replace occurences of a substring in a string
POSITION()Returns the position of the first occurrence of a substring in a string

String Operators

OperatorDescription
text ~ text -> booleanReturns true if the first argument matches the pattern of the second argument in case sensitive match
text ~* text -> booleanReturns true if the first argument matches the pattern of the second argument in a case-insensitive match
text !~ text -> booleanReturns true if the first argument does not match the pattern of the second argument in case sensitive match.
text !~* text -> booleanReturns true if the first argument does not match the pattern of the second argument in a case-insensitive match