toasterking of BS Corporation Terminus
11/15/2017 - 4:43 PM

Retrieve a portion of a string using delimiters

Retrieve a portion of a string using delimiters

/*  Return the second element (#1; the first one is 0) separated by a delimiter of '#' */ 
tuple string item 1 of concatenation ", " of substrings separated by "#" of concatenation "~" of substrings separated by "," of "milk#eggs#ky jelly#viagra#atomic bombs"

/* Note on below example: "active action" can only be evaluated as relevance inside an action script, not as relevance of a task or action. */
tuple string item 1 of concatenation ", " of substrings separated by "#" of concatenation "~" of substrings separated by "," of value of header "Subject" of active action