05-19-2023 12:08 AM
Hi Experts,
I want to limit my cons member only to "Elimination". can I use "api.pov.cons.Name.XFEqualsIgnoreCase("Elimination")"
Solved! Go to Solution.
05-19-2023 01:58 AM - edited 05-19-2023 02:01 AM
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.
05-19-2023 01:58 AM - edited 05-19-2023 02:01 AM
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.