String-type variables can be used to populate rule properties with character data that does not appear in local data files or incoming documents. All Actions are described below.
Video: See the Cleo Community video on conditioning string data in a Ruleset.
Concatenate
Joins two string values (SourceString1 and SourceString2) into one string value.
ConcatenateMany
Joins up-to-10 string values into one string value (with an optional specified Separator) into one string value; the UseRawValue Boolean input property defaults to false.
Contains
Determines if a string value (ContainsText) is found in another string value (Text) and returns a Boolean value.
DecodeString
Takes a Base64 encoded string value (text) and returns a normal string value.
EncodeString
Takes a normal string value (text) and returns a Base64 encoded string value.
EndsWith
Determines if a string value (text) ends with another string value (suffix) and returns a Boolean value.
ExtractAfter
Inspects a string value (Text) for the existence of another string value (ContainedText) and returns a string value with the characters located after the ContainedText.
ExtractBefore
Inspects a string value (Text) for the existence of another string value (ContainedText) and returns a string value with the characters located before the ContainedText.
ExtractDigits
Extracts all digits from a String value (input) and returns a string value.
GetMatchList
Returns a List of String values for all occurrences in a String value (text) matching a regular expression (pattern).
IsStringEmpty
Determines if a string value (text) is not present and returns a Boolean value.
Length
Determines the length of a string value (text).
Matches
Determines if a string value (text) matches a specified regular expression (pattern) and returns a Boolean value.
Normalize
Replaces multiple occurrences of white spaces with a single white space and eliminates leading/training white spaces in a string value (text) and returns a string value.
NotContains
Determines if a string value (ContainsText) is not found in another string value (Text) and returns a Boolean value.
NotEndsWith
Determines if a string value (text) does not end with another string value (suffix) and returns a Boolean value.
NotStartsWith
Determines if a string value (text) does not start with another string value (prefix) and returns a Boolean value.
NumberOfMatches
Determines the number of times a string value (pattern) occurs in another string value (text).
Replaces all occurrences of a string value (str) with another string value (replacement) in another string value (text) and returns a string value.
Split
Splits a string value (text) based on a regular expression (pattern) and returns a list of string values.
StartsWith
Determines if a string value (text) starts with another string value (prefix) and returns a Boolean value.
StringEquals
Determines if two string values (SourceString1 and SourceString2) are equal and returns a Boolean value.
StringEqualsNormalized
Determines if two normalized string values (SourceString1 and SourceString2) are equal and returns a Boolean value.
StringNotEquals
Determines if two string values (SourceString1 and SourceString2) are not equal and returns a Boolean value.
StringNotEqualsNormalized
Determines if two normalized string values (SourceString1 and SourceString2) are not equal and returns a Boolean value.
Substring
Inspects a string value (Text) and returns a string value containing only the characters located beginning at a specified start position for a specified Length. Leading spaces are not considered part of the text. The start position will start after the leading spaces.
SubstringReplace
Inspects a string value (Text) and returns a string value containing the original characters
except that those located beginning at a specified Text Start Position for a specified Text Length, inclusive, are replaced with another string value (Replacement); optionally, a Replacement Start Position (which defaults to zero) and a Replacement Length (which defaults to the remaining length of Replacement) may be specified.
ToLowerCase
Converts all characters of a string value (text) to lower case and returns a string value.
ToUpperCase
Converts all characters of a string value (text) to upper case and returns a string value.
Comments
0 comments
Please sign in to leave a comment.