List A, List B, and List C all contain the same text. However, their order is different.
How can I be sure that List A and the other lists contain the same text, including the order in which they are included?
List A, List B, and List C all contain the same text. However, their order is different.
How can I be sure that List A and the other lists contain the same text, including the order in which they are included?
One simple way is to convert each list into a single string, then compare each string…
Yes, we can verify them one by one by force.
However, the list may contain hundreds of texts. So we’re also looking for smarter ways.
So what exactly are you trying to do? (I’m not sure I understand the question…)
If there are 4 texts included, you can use :first item, :item# to take them out one by one, but if there are 100 texts, you’d be out of your mind.
Since :intersect with doesn’t take the order into list, I was wondering if there is a function that can check for a match including the order.
a match of what?
What are you trying to establish? (fi they are all the same?) or what?
Here are a few more details about the application you are creating.
I am trying to create an app with fill-in-the-blank questions.
The questioner can set any number of fill-in-the-blanks for a sentence.
The respondent selects an answer from a set of words.
The app needs to prove that the word group of the answer selected by the respondent matches the word group of the fill-in-the-blanks set by the questioner.
This topic was automatically closed after 70 days. New replies are no longer allowed.