Post
by dunbarx » Fri Jan 08, 2010 8:46 pm
Topcat, an array cannot be put into a field, or an answer dialog, or anything that displays it, until it has been converted back to a normal variable. Try it: make an array, and then put it into a field. You will see empty. Now combine the array using, say, a return. You will see the data. You can go back and forth, combining and splitting, all day.
Similarly, you cannot (I am sort of sure) determine if a string is in an array without first combining it. But that process is simple, and you will need to do so anyway in order to display its contents.
So, schematically:
put yourArray into temp
combine temp with space
if yourString is among the words of temp then put temp into field "outField"
else put "No Answer" into field "outField"