Iterating Through Entries in a String

This is an example of how to iterate through all the entires in a list in a string. It uses comma separated entries, but if your data might include commas, use something else (I often use a bullet • (option-8)).

Similarly, to access a specific indexed entry from an array of strings, you can do something like this:

This uses a dummy item at position "0" to make the whole process a bit easier, but you could avoid that if you wanted to with a bit more complex regular expression.

1 Like