shopkeeper56_23
Sep 20, 2016Cirrostratus
Recursive Data Group Match
Hi,
I'm trying to perform a recursive binding of variables based off information in a large source string of values and a Data Group.
Here is the pseudo-logic of what I'm trying to perform...
DataGroup String "A" = Value "1" String "B" = Value "2" String "C" = Value "3"
Source_String : "A | C | Z | F | G | H | T | B"
I would like to recursively search $Source_String and bind the corresponding Data Group value for each match to a new variable. In the above example the desired variable output would be...
$Desired_Variable = "1 3 2"
Any ideas?