Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
String list in actions
#1
I am using the HTTP Get driver for action and using the option of passing in parameters in the url to take actions based on values.

?1=<string1>&2=<String2>&3=<String3>

The above will give me an action parameter 2 of <string1> <string2> <string3> - a string list of sorts.

How do I extract the strings into separate variables using the commands available for local variables in the action interface?

GetSubStr is an option, but the size of each of the strings will vary so I would need to dynamically assign the start index and length for the command.

Not sure how to do this
Mykel Koblenz
Illawarra Smart Home
Reply


Messages In This Thread
String list in actions - by znelbok - 11-06-2017, 02:55 PM
RE: String list in actions - by Dean Roddey - 11-06-2017, 03:27 PM
RE: String list in actions - by znelbok - 11-06-2017, 03:51 PM
RE: String list in actions - by Dean Roddey - 11-06-2017, 04:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Z-Wave Device List simplextech 2 1,624 02-01-2020, 07:24 AM
Last Post: simplextech
  Pause / Resume Triggered or Scheduled Actions from the Interface Viewer gReatAutomation 2 2,333 10-30-2019, 01:38 PM
Last Post: gReatAutomation
  Question on Parsing a String in a CML Macro kblagron 2 1,905 06-18-2019, 06:21 PM
Last Post: Dean Roddey
  Deleting Drivers From AI "Add Drivers List" kblagron 1 1,215 05-16-2019, 09:18 AM
Last Post: Dean Roddey
  Drivers and Hardware List wusupwchu 3 2,392 02-20-2018, 04:35 PM
Last Post: Dean Roddey
  Some workarounds to copy/paste Actions RichardU 3 2,381 01-19-2018, 09:34 AM
Last Post: Dean Roddey
  Regular Expersions in Actions znelbok 1 1,729 12-26-2017, 05:48 PM
Last Post: Dean Roddey
  Saving Global Actions RichardU 1 1,644 12-20-2017, 11:18 AM
Last Post: Dean Roddey
  where did the list of supported devices go? indygreg 8 6,831 06-08-2017, 02:21 PM
Last Post: Dean Roddey
  Static List Browser and Parameters zra 15 9,448 04-12-2017, 02:44 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)