RulesEngine icon indicating copy to clipboard operation
RulesEngine copied to clipboard

Rule expressions are case insensitive

Open SubhasmitaPatro opened this issue 3 years ago • 2 comments

How to achieve case sensitive string comparison in rule expression. Example, object1.Name == "SAM" and object1.Name == "sam" should be treated differently for my scenario. Appreciate any suggestions.

SubhasmitaPatro avatar Dec 05 '22 13:12 SubhasmitaPatro

Can you share the version of RulesEngine you are using ?

Also string.Equals(object1.Name,"SAM") should be case sensitive. Let me know if this works.

abbasc52 avatar Dec 07 '22 15:12 abbasc52

Thanks for your response. I use RulesEngine 4.0.0. I tried with the way you suggested. This also behaves as case insensitive.

SubhasmitaPatro avatar Dec 27 '22 05:12 SubhasmitaPatro