XFEqualsIgnoreCase

BCG
New Contributor II

Hi Experts,

I want to limit my cons member only to "Elimination". can I use "api.pov.cons.Name.XFEqualsIgnoreCase("Elimination")"

1 ACCEPTED SOLUTION

ChristianW
Valued Contributor

Yes, that is possible, but comparing strings with ‚=‘ or ,XFEqualsIgnoreCase‘ is more time consuming than comparing two integers, so I would prefer using "api.pov.cons.MemberId = dimconstants.Elimination".

If you test it once, the difference is minimal, but inside loops, it can make a difference.  

View solution in original post

1 REPLY 1

ChristianW
Valued Contributor

Yes, that is possible, but comparing strings with ‚=‘ or ,XFEqualsIgnoreCase‘ is more time consuming than comparing two integers, so I would prefer using "api.pov.cons.MemberId = dimconstants.Elimination".

If you test it once, the difference is minimal, but inside loops, it can make a difference.