Announcement

Collapse
No announcement yet.

string changes and contains

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    string changes and contains

    Hi Spud, sorry if this was answered already, I checked the doc but could not find the answer. Can I specify multiple strings to check against the device string? Should they be separated with a delimiter such as comma?

    Thanks,
    -Ron

    #2
    no sorry you can't specify multiple strings, you will have to use several triggers (OR IF)

    Comment


      #3
      Hi Spud. Can 'If String Contains' field handle regular expressions?

      Comment


        #4
        In version 3.0.0.52 available in Beta section of the updater I have added "String changes and matches this regular expression" trigger and condition.

        Here is an example that check if a device string is an email address:

        Click image for larger version

Name:	regularexpression.png
Views:	101
Size:	12.9 KB
ID:	1256575

        Comment


          #5
          That is brilliant. Cheers Spud

          Comment

          Working...
          X