How to use contains block in Text blocks


Hi guys, i want to use the “contain” block so my answers can vary. Whether it is lower case or not, or has a space or not.
I can not find a guide on how to do this. These blocks are from the tutorial “Quizme”
Thank you

Please explain in more detail where you want to use the contains block in the blocks you show, and how this is to help you vary the answers…


i do not know where to place to contain block. The answers are very static atm. If the answer isnt typed exactly how it is in the blocks then the user will get the answer incorrect. The picture i added might help you understand what i want to do. Does this make sense?

Thank you :smiley:

in this App Inventor Classic screenshot the two contains blocks are placed inside an or block
http://ai2.appinventor.mit.edu/reference/blocks/logic.html#or

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

1 Like

Good day.

Thank you for the help. Will read through the manual.
Much appreciated.
Neel