Hi
I have an IntDict from a CSV file, for example:
The item key are string ("hello", "world"...)
Is there a function to recall the index of the word in the dict?
for example:
String stringToCheck = "world";
print(dictLookup(stringToCheck));
//prints "1"
Answers
Maybe command index
See
http://processing.github.io/processing-javadocs/everything/processing/data/IntList.html
Hi @Chrisir Haven't found "command" index in the doc. Were you referring to something else maybe?
you could've searched within the page. but here's a direct link
http://processing.github.io/processing-javadocs/everything/processing/data/IntList.html#index-int-
oh ok, sorry I misunderstood. searched for "command". Thank you!