OPAL String Functions¶
String functions process strings as input, or provide strings as output.
| Function | Description | 
|---|---|
| Cast all values in an array to  | |
| Check that the argument value is a valid JSON document. | |
| Return the concatenation of all string arguments. | |
| Returns true if the  | |
| 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. | |
| Returns true if string  | |
| Format a timestamp column according to the specified format string. | |
| Returns a string that matches the given regular expression if a match exists. | |
| Converts integer-encoded IPv4 addresses to dotted-quad notation. | |
| Test whether an IPv4 address is in a given subnet. | |
| Returns the label of a link. | |
| 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 | |
| 
 | |
| 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). | |
| 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 | |
| 
 | |
| Returns a hex-encoded string containing the N-bit SHA-2 message digest, where N is the specified output digest size. | |
| Splits the string into an array, based on the separator. | |
| Splits a given string at a specified delimiter 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. | |
| Resolves the data type of a variant column so that column may be typed for better performance. |