Reputation: 3213
How can I iterate over a InputArray and load another input array with the same values except in lower case (I know that there is a string to lower function)?
Question: How to iterate over a String List with a LOOP structure?
InputArray: A, B, C
OutputArray should be: a, b, c
Upvotes: 3
Views: 10056
Reputation: 81
I can see two cases out here.
If your input is a string
If your input is a string list.
In this case follow steps 2 to 5 as mentioned above.
Upvotes: 2
Reputation: 9904
In case, you want to retain the inputArray as such and save the lowercase values in an outputArray, then follow steps in below image which is self explanatory:
In the loop Step, Input Array should be /inputArray
and Output Array should be /outputArray
.
Upvotes: 5
Reputation: 4278
Your InputArray field looks like a string field. It's not a string list.
You need to use pub.string:tokenize from the WmPublic package to split your strings into a string list and then loop through the string list.
A string field looks like this in the pipeline:
A string list looks like this in the pipeline:
See the subtle difference in the little icon at the left ?
Upvotes: 2