Hi, Martijn,
This is a solution I wouldn't have come up with in a million years
I'm sure you would.

This solution is presented many times here in the forum.
Well, what is your problem?
You want to display a random text in question 1, a different one in question 2, and so on.
You have a random string.
Let's call the question where you generate it "QDef" (=definition)
Now in your first question you take the first character of the string to define the text.
The first character you get by the function "substr(QDef,0,1)" (Take the substring of QDef, starting with 0 and a length of 1)
and the second by "substr(QDef,1,1)".
Remember: The index of the first character is "0".
And according to this character you display the text.
This is i simple nested IF-statement.
So your question text of the first question could be:
Now we want to ask you something.
{if(substr(QDef,0,1)=="a","This is the text when the first character is a",if(substr(QDef,0,1)=="b","This is the text when the first character is b", if(substr(QDef,0,1)=="c","This is the text when the first character is c","This is the text when the first character is something else")))}
And again some general text
So your question text of the second question could be: (here you capture the second character)
Now we want to ask you something.
{if(substr(QDef,1,1)=="a","This is the text when the second character is a",if(substr(QDef,1,1)=="b","This is the text when the second character is b", if(substr(QDef,1,1)=="c","This is the text when the secondd character is c","This is the text when the second character is something else")))}
And again some general text
Read about the syntax of the IF-statement (it's the same as in EXCEL) and nesting.
If there are more questions, please send your tries as lss export.
Joffm