Reputation: 11
I am using NxBre 3.2.0. I want to compare two strings in case insensitive manner but did not find any option in IF element. Is it possible to do so.
Upvotes: 1
Views: 127
Reputation: 33413
I supposed you're using the Flow Engine since you mentionned If
.
To perform a case insensitive comparison use the ObjectLookup
element to call statically String.Compare(left,right,true)
, then test the result to be equal to 0
.
See: http://msdn.microsoft.com/en-us/library/zkcaxw5y%28v=vs.110%29.aspx
Upvotes: 0