[rules-users] is "==" case sensitive

rules-users at lists.jboss.org rules-users at lists.jboss.org
Mon Jan 8 12:24:17 EST 2007


if you can do it with a regex (which I am not sure if you can) then you can
use the "matches" operator.

Otherwise you can do it with a predicate:

Something(a:field -> (a.equalsIgnoreCase("some string")) )



On 1/8/07, rules-users at lists.jboss.org <rules-users at lists.jboss.org> wrote:
>
> what i would do to make in not case sensitive (like
> string1.equalsIgnoreCase(string2))?
>
>
> Joel G. Rivera-Gonzalez
> PRT
>
> "The first 90% of a project takes 90% of the time, the last 10% takes the
> other 90% of the time" - Murphy's Law
>
> ----- Original Message ----
> From: "rules-users at lists.jboss.org" <rules-users at lists.jboss.org>
> To: rules-users at lists.jboss.org
> Sent: Monday, January 8, 2007 10:49:08 AM
> Subject: Re: [rules-users] is "==" case sensitive
>
> For Strings I presume ? Yes it should be case sensitive.
>
> On 1/8/07, rules-users at lists.jboss.org < rules-users at lists.jboss.org>
> wrote:
> >
> > I dont find anything on the documentation...and i think it is important
> > to know...
> >
> > thanks !
> >
> >
> >
> > Joel G. Rivera-Gonzalez
> > PRT
> >
> > "The first 90% of a project takes 90% of the time, the last 10% takes
> > the other 90% of the time" - Murphy's Law
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
> >
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070108/6b20fe78/attachment.html 


More information about the rules-users mailing list