Hi all,
Currently I have a very long string I pass into my Flow from PowerApps, and I am trying to parse the string. The string I pass in was originally a collection in PowerApps, consisting of different calendar events and its corresponding information (Title of event, start time, and end time). In the string, the columns (details per each event) are separated by commas, and the different rows (different events) are separated by a semi-colon.
Here is an example of how two events are concatenated and passed into Flow:
Attend Workshop,11/12/2019 1:30 PM, 11/12/2019 2:30 PM; Pick up kids, 1/12/2019 2:00 PM, 1/12/2019 3:00 PM;
My flow diagram is super long in order to execute everything I need, so I wont post a picture for your sake. However, I do have a variable that keeps track of the current position (ideally would get updated to the index after each comma/semi-colon), a variable holding the index of the comma/semi-colon, and variables holding the substrings.
I know I can use the indexOf() expression to find the first comma in the string. However, how would I re-write this, or use another expression, to then find the next comma in my string?
My goal is to parse the title, start time, and end time for each event, and upload to outlook calendar until all events have been added from the long string.
Thank you,
Kenzie