I have a sample string like so:
[{HST, AKST, PST, MST, CST, EST, AST, WAT, CET, GMT, EET, CCT, AWST, JST, EAST, NZT} {0:10}]
I’m interested in the first set of items in brackets:
{HST, AKST, PST, MST, CST, EST, AST, WAT, CET, GMT, EET, CCT, AWST, JST, EAST, NZT}
I would like parse the set and put it into a list. I’m working with python.
This will help you iterate through the “elements” of your list.
EDIT : You now write it’s part of a larger string. That changes the original question.
This will find your list and extract the words inside it.