Class StrEvaluatorDefinition

java.lang.Object
org.drools.mvel.evaluators.StrEvaluatorDefinition
All Implemented Interfaces:
Externalizable, Serializable, EvaluatorDefinition, EvaluatorDefinition

public class StrEvaluatorDefinition extends Object implements EvaluatorDefinition

The implementation of the 'str' evaluator definition.

The str compares two string values.

Lets look at some examples:

$m : Message( routingValue str[startsWith] "R1" )
$m : Message( routingValue str[endsWith] "R2" )
$m : Message( routingValue str[length] 17 )
See Also: