Essentially, I would send one or more keywords in an SMS (separated with a space) and I would have multiple expressions responsible for handling what happens for each type of keyword.
I have it working if it's only one keyword but when I send an SMS with more than one keyword, it stops working.
Should I use contain() for this? or indexOf()? or is there a better way?
EDIT: Answered my own question. Used the following:
Code: Select all