Hi,
Is there any straightforward method to compare below two arrays in such a way that, SelectedAnswersArray[1]=correctAnswersArray[1] , SelectedAnswersArray[2]=correctAnswersArray[2] and SelectedAnswersArray[3]=correctAnswersArray[3] .
SelectedAnswersArray: {"a","c","b"}
correctAnswersArray: {"a","b","c"}
Discussion posts and replies are publicly visible
Comparing two arrays returns a list of booleans. This might be a little better:
a!localVariables( local!array1: { 1, 2, 3 }, local!array2: { 1, 2, 3 }, not(contains(local!array1 = local!array2, false)) )