[rules-users] How to match a string in LHS ?

Wolfgang Laun wolfgang.laun at gmail.com
Thu Jun 6 02:36:11 EDT 2013


If you have inserted a java.lang.String as a fact, you can determine
whether it is "ok" by

   when
      String( toString == "ok" )

-W

On 06/06/2013, abhinay_agarwal <abhinay_agarwal at infosys.com> wrote:
> AFAIK, you would like to match the string "ok" with someother string. I
> don't
> see any other string here.
>
> Can you be a bit more clear with your question..
>
> Abhi
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-match-a-string-in-LHS-tp4024157p4024158.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list