[Thread Prev] [Thread Next]
I'm late, but here are a few clues:
if answer = "|hello world| [do something] (notice the vertical bars)
if member? "hello answer [do something]
if (parse answer) = [hello world] [do sommething]
This is all based on the following:
show answer
hello world
show count answer
11
show first answer
h
show parse answer
hello world
show count parse answer
2
show list? answer
false
show list? parse answer
true
show first parse answer
hello
show member? "hello answer
true
Le 2008-05-29 à 13:30, Burke, Bridget - CKJH a écrit :
Can you have an answer with more than one word?
if answer = "hello world [dosomething]
What I can't figure out is how to get it to take both words.
if answer = se "helllo world ; this does not work. I have tried many
[] and ( ) combo.
I know this can be done.
Bridget Burke
Previous by thread:
Re: question and answer
Next by thread:
What is programming?
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|