I have a matches variable with 39 items in it called “vSubStringIndexArray”, I want to go through each item as a string and compare consecutive items to see if they are equal (1 to 2, 2 to 3, 3 to 4) in order to on input values that don’t match. I don’t know how to access two items of a Matches as strings and comparte them.
Basically wanting to do this if this sort of thing was possible:
vSubStringIndexArray(1).toString = vSubStringIndexArray(2).toString
Lets say in this instance item 1 houses the value “Cat” and item 2 houses the value of “Dog”