How do I Check if dictionary has a word?

0 favourites
  • 2 posts
From the Asset Store
Word Guess
$0.50 USD
95% off
Questions and answers are stored in simple txt-files. Cool animation of everything
  • Basically what i am trying to do is:

    What already done:


    Ajax my Realtime Databases and request info ( works fine)



    Ajax LastData output will be like:

    "Json": {









    And a Dictionary will load (Works fine)

    What I need:

    I will text a text on the textbox like (e.g. Water) and compare if the dictionary in one of it keys have the value "Water"

    And then call a Ajax using each key that have the word "Water" Like:

    Ajax: Tag:"load" // url: MyDatabasesUrl&"/"&Dictionary.currentkey&".json"



    Sry my bad english

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You can repeat Dictionary.KeyCount to check Dictionary.Get("" & loopindex) that contains your keyword or not.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)