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
Hello Chithra Venkitachalam ,
You can try this as well.
a!localVariables( local!arr1:{1,2,4}, local!arr2:{1,2,3}, a!forEach( items: local!arr1, expression:fv!item=local!arr2[fv!index] ) )