rrCompareNotCase
Negates the running of the rrCompareCase action. You can run this action in instances when two of the string or smart parameter values are different.
Syntax
bool rrCompareNotCase (string object1, string object2, string caseSensitive)
Parameters
string object1
string object2
string caseSensitive
Parameters
Three Parameters.
- A value or a smart parameter, which is a reference to a value.
- A value or a smart parameter, which is a reference to a value
for comparison.Note: Either reference can specify a variable of the calling object (the bound object of the Document Hierarchy.) Alternatively, both references can identify a variable of an object that is a parent or child of the calling object.
Either parameter is optional. If a parameter is not specified, it defaults to the calling object. If the calling object is a field, it uses the field value. For batch, document and page objects, it uses a variable that is called Text, creating the variable if it does not exist.
- True runs a case-sensitive compare. False runs a case insensitive compare. If not specified, the default is False.
Returns
True if the compared values do not match. Otherwise, False.Level
All.Details
This action negates the running of the rrCompareCase action. You can run this action in instances when two of the string or smart parameter values are different.- Example
rrCompareNotCase("Main_Job","JOBID","False")This example compares the string "Main_Job" to the current Job ID. The comparison is case insensitive. If the current Job ID is "MAIN_JOB", the strings match so the action returns False.
rrCompareNotCase("Main_Job","JOBID","True")This example compares the string "Main_Job" to the current Job ID. The comparison is case-sensitive. If the current Job ID is "MAIN_JOB", the strings do not match so the action returns True.