Available Functions : Using Core Functions : String Functions
 
Share this page                  
String Functions
The String category provides common String manipulation functions.
Function Name
Description
Output Type
Parameters
Strings.concat
Concatenates the string values of the input fields. Non-string values will be converted to strings using a default format.
By default, a null value is treated as an empty string. This behavior is configurable.
String
Null handling specification (optional)
List of values
Strings.find
Finds the first index of the substring that matches the specified pattern. If not found, -1 will be returned.
int
Pattern to match
Strings.indexOf
Finds the first index of the specified string value. If not found, -1 will be returned.
int
String value
Strings.lastIndexOf
Finds the last index of the specified string value. If not found, -1 will be returned.
int
String value
Strings.length
Calculates the length of string values.
int
String value
Strings.mid
Produces a substring of the input string value in the specified field, starting at position with the specified length.
String
Position
Length
Strings.replaceAll
Replaces all occurrences of a given pattern in the result of a specified expression. If the pattern is not matched, the value is unchanged.
String
Input string value
Pattern to match
Replacement string value
Strings.replaceFirst
Replaces the first occurrence of a given pattern in the result of a specified expression. If the pattern is not matched, the value is unchanged.
String
Input string value
Pattern to match
Replacement string value
Strings.substr
Produces a substring of the input string value in the specified field, between specified indexes. If an index falls outside the bounds of the string value, it is truncated to the nearest boundary.
String
Input string value
Start index
End index
Strings.toLowerCase
Returns the input string value with all letters in uppercase.
String
String value
Strings.toUpperCase
Returns the input string value with all letters in lowercase.
String
String value
Strings.trim
Trims white space from the beginning and end of the input String value.
String
Input String value