08-12-2018 10:37 PM - edited 08-12-2018 11:06 PM
Hi,
I would like to get the indexes of the different elements between two string arrays. I can do it element by element but it seems stupid. Perhaps there is a simpler way that can do the job? Does anyone have ideas?
Thanks in advance.
Best Regards,
K
Solved! Go to Solution.
08-12-2018 11:14 PM
Go row by row and compare the 1-D arrays. If they are different then look for the Falses in that 1-D array.
08-13-2018 12:31 AM
08-13-2018 12:55 AM
Thanks guys, this will do the trick!
08-13-2018 01:49 AM
(The above assumes that the two arrays are identical in size and that equal entries need to be binary identical. Depending on where these strings come from, you might want to do a case insensitive match and/or ignore leading and trailing whitespace if present.)