No internet connection
  1. Home
  2. General

TA5: straight comparisons are not case sensitive

By @matty
    2022-06-28 18:55:04.523Z2022-06-28 19:07:57.369Z

    Good day,

    I am trying to compare a variable's uppercase value with the same variable's lowercase value to check if an Extracted field is numeric or not (using an IF block), but the equality comparison returns a Pass?

    I can use validation on the extraction as an alternative. Still, I wanted to ask, should TA5 consider upper and lower case versions of the same value as an equality comparison: Failed?

    • 1 replies
    1. L
      Liam @liam
        2022-06-30 16:12:11.987Z

        Hi

        You are correct the straight comparisons are not case sensitive.
        But if you wanted to do a case check, you can use the "RegEx Matches" comparison e.g.