On 4 January 2012 06:02, Lalitha <span dir="ltr">&lt;<a href="mailto:v.lalithasri@gmail.com">v.lalithasri@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

<br>
*Where can I find these syntax of drools? *<br></blockquote><div><br>The Drools Expert manual contains a documentation of the syntax for the left hand side. Within eval(), you just use Java syntax, defined in the Java Language Specification or described in any text book on Java. The same is true fir the right hand side, which is Java, with a few extensions which are documented in the Expert manual, too.<br>
<br></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<br>
I am trying for uppercase conversion and I used &quot;toUpperCase()&quot; function<br>
which we can use it in JAVA. But here it is not working.<br></blockquote><div><br>I suppose you just didn&#39;t get the syntax right? To test whether something is equal without regard for case you might use<br><br>   Customer( eval( name.toUpperCase().equals( &quot;SMITH&quot; ) ) )<br>
<br>-W <br><br> </div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<br>
Could you please suggest me regarding the syntax of Drools.<br>
<br>
Thank you so much for your help.<br>
<br>
Regards,<br>
<span class="HOEnZb"><font color="#888888">Lalitha.<br>
<br>
</font></span><br></blockquote></div>