You can perform string-related operations within an expression using the following library.
String | Description | Input | Output |
---|---|---|---|
where |
Returns true if the input string is not empty
( |
|
|
where |
Returns true if the input string is not empty
( |
|
|
where |
Converts all characters to uppercase. Returns all characters in upper case if input is not null. Returns null if input is null. |
|
|
where |
Converts all characters to lowercase. Returns all characters in lower case if input is not null. Returns null if input is null. |
|
|
where |
Removes white space from the start and end of |
|
|
where:
|
Gets a substring from the input string starting from the start position and up until the end position, not including the end position. You can use a negative value to start or end n characters from the end of the string. All position counting is zero-based. If start is not to the left of end, "" is returned. Returns null if input is null. |
|
|
where:
|
Checks if the input string starts with the specified prefix and the comparison is case sensitive. Returns true if the input string starts with the prefix with the same case or if both are null. |
|
|
where:
|
Checks if the input string ends with the specified suffix and the comparison is case sensitive. Returns true if input string ends with the suffix with the same case or if both are null. |
|
|
where:
|
Splits the provided text into an array based on the specified separators. Returned array won't contain any separators. A null separator splits on white space. Returns null if input is null. |
|
|
where:
|
Joins the elements of the provided array into a single string containing the provided elements separated by the provided separator. Returns the joined string or null if the array is null. |
|
|
where:
|
Finds the first index of the search string within the input string. A negative start
position is treated as zero, and a start position greater than
the input string length only matches an empty search. An empty
search string ( |
|
|
where:
|
Finds the last index within the input string. Search starts from the start position and continues backwards. A negative start position is treated as zero, and a start position greater than the input string length searches the entire string backwards. Returns -1 if a match is not found. |
|
|
where |
Returns the length of the input string or 0 if input is null. |
|
|
where:
|
Replaces all occurrences of
|
|
|
where:
|
Compares two strings lexicographically. Returns 0
if |
|
|
where:
|
Parses the string argument as a signed decimal integer (min
The characters in the string must all be decimal digits, except
that the first character can be an ASCII minus sign
( |
|
|
where:
|
Parses the string argument as a signed decimal long (min
The characters in the string must all be decimal digits, except
that the first character can be an ASCII minus sign
( |
|
|
where:
|
Translates the decimal string representation of a BigInteger into a BigInteger. The string representation consists of an optional minus sign followed by a sequence of one or more decimal digits. The character-to-digit mapping is provided by Character.digit. If input is null or not a valid Big Integer, defaultIfNullOrInvalid is returned. |
|
|
where:
|
Parses the string argument as a signed decimal float. If input is null, not a valid Float, or Infinity, defaultIfNullOrInvalid is returned. |
|
|
where:
|
Parses the string argument as a signed decimal double. If input is null, not a valid number within the range of Double, or Infinity, defaultIfNullOrInvalid is returned. |
|
|
where:
|
Translates the string representation of a BigDecimal into a BigDecimal. The string representation consists of an optional sign,
( The value of the exponent must lie between
|
|
|
where <input> is the string to be encoded. |
Encodes the input string into a new string using the Base64 encoding scheme. Returns the encoded string if input is not empty, or else input is returned as-is. |
|
|
where <input> is the Base64 encoded string to be decoded. |
Decodes a Base64 encoded string into a new string using the Base64 encoding scheme. Returns the encoded string if input is not empty, or else input is returned as-is. This will return null if the input string is not in the valid Base64 schema. |
|
|
where <input> is the string to be encoded. |
Translates a string into application/x-www-form-urlencoded format using UTF-8 encoding scheme. Returns the encoded string if input is not empty, or else input is returned as-is. |
|
|
where <input> is the URL encoded string to be decoded. |
Decodes an application/x-www-form-urlencoded string using UTF-8 encoding scheme. Returns the decoded string if input is not empty, or else input is returned as it is. Returns null if the input string cannot be decoded due to any illegal characters. |
|
|
where:
|
Returns a formatted string using the specified format string and arguments. Returns null if a format string contains an illegal syntax, a format specifier that is incompatible with the given arguments, insufficient arguments given the format string, or other illegal conditions. |
|
|
where:
|
Translates the string representation of a UUID to a GUID in Base64 format. If input is null or not a valid UUID, <defaultIfNullOrInvalid> is returned. |
|
|
where:
|
Returns the first value in the input values which is not empty ('') or null. If all input values are null or empty, then null is returned. There must be at least one input value and the rest are optional. You can enter a maximum of 10 input values. |
|
|
where:
|
Returns the first value in the input values which is not empty (''), null or whitespace only. If all input values are null, empty or blank then null is returned. There must be at least one input value and the rest are optional. You can enter a maximum of 10 input values. |
|
|