OPAL String Functions¶
String functions process strings as input, or provide strings as output.
Function |
Description |
---|---|
Cast all values in an array to |
|
Return the concatenation of all string arguments. |
|
DecodeBase64 decodes a base64 encoded input |
|
Replace %-encoded escape sequences in a string with unencoded plain text. |
|
Replace all %-encoded escape sequences in a string with unencoded plain text. |
|
Identify the browser used for a web request from its |
|
Returns the Levenshtein distance between |
|
Embed parameters into the given prepared SQL statement by replacing occurrences of the placeholder character ‘? |
|
EncodeBase64 encodes the input in the base64 format |
|
Replace certain characters in a string with %-encoded escape sequences. |
|
Replace certain characters in a string with %-encoded escape sequences. |
|
Format the timestamp value in UTC according to the specified format. |
|
Returns a string that matches the given regular expression (which may be null if nothing matches. |
|
Returns an array containing all parts of the argument string that match the given regular expression (which may be empty if |
|
Given an integer that represents an IPv4 address in big-endian (network) byte order, return the corresponding dotted-quad |
|
Returns a leftmost substring of its input. |
|
Returns true if subject matches pattern (case-sensitive). |
|
Return the input string in lowercase. |
|
Left pads a string with characters from another string, default pad string is whitespace |
|
|
|
Return true if the argument input string or object (converted to a string) matches the argument regular expression. |
|
Parses an input string as character-separated values, where the default separator is a comma (comma-separated values. |
|
Returns an object of key=value pairs extracted from an input string. |
|
Parse a string value, whose format is specified by the |
|
Converts an array of “key”-“value” pairs into an object with key-value attributes. |
|
Searches for the first occurrence of the second argument (needle) in the first argument (haystack) and, if successful, returns the |
|
Coerce a string literal to a regular expression. |
|
Replaces all instances of the substring in the input string with a provided value. |
|
Replaces all instances of a matched regex pattern in the input string with a provided value. |
|
Returns a rightmost substring of its input. |
|
Right pads a string with characters from another string, default pad string is whitespace |
|
|
|
Return true if the |
|
Splits the string into an array, based on the separator. |
|
Splits a given string at a specified character and returns the requested part. |
|
Returns true if string starts with expr. |
|
Generate a string representation of the argument value. |
|
Returns concatenated input values, separated by the delimiter. |
|
Returns concatenated input values, separated by the delimiter. |
|
Returns a null value of type string. |
|
Extracts characters from a string, starting at an index. |
|
Splits the string into an array based on separator, which is treated as a set of characters. |
|
Tokenizes the input string using the delimiter and returns the requested part. |
|
|
|
Convert an object into an array of “key”-“value” pairs. |
|
Return the input string in uppercase. |
|
Given a variant value (typically, something you get from looking up a path or element in a JSON object or array,) determine what |