[rules-users] Removing Special Characters
Lalitha
v.lalithasri at gmail.com
Wed Jan 4 00:02:43 EST 2012
Hi Laune and Thomas,
*Thanks a lot for your quick response.* I used the code that you
suggested as below,
when
c: CustomerInfo( customerName matches ".*[*#].*" )
then
String data = c.getCustomerName().replaceAll( "[*#]", "" );
modify( c ){ setCustomerName( data ) }
It is working successfully. I got the required output. The special
characters got removed.
*Where can I find these syntax of drools? *
I am trying for uppercase conversion and I used "toUpperCase()" function
which we can use it in JAVA. But here it is not working.
Could you please suggest me regarding the syntax of Drools.
Thank you so much for your help.
Regards,
Lalitha.
--
View this message in context: http://drools.46999.n3.nabble.com/Removing-Special-Characters-tp3628821p3631046.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list