Skip to main content
May 19, 2023
Solved

XFEqualsIgnoreCase

  • May 19, 2023
  • 1 reply
  • 0 views

Hi Experts,

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

    Best answer by ChristianW

    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.  

    1 reply

    May 19, 2023

    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.