Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

returns the string "abc" rather than the single element array ["abc"].


Retrieving parameters from a URL

split("https://app.phixflow.com/phixflow/api/1/action/MyApp/MyAPI/trigger?param1=100", "\\?").2

returns a string "param1=100".

The .2 selects the second array element. For multiple parameters delimited by an ampersand, a second split is required. 


The following expression will split the string at any single digit between 0 and 9:

...