I have a need to split the following string from this:
If I use the following split function, it splits at the first '_', where I need it to split at the 2nd '_'
Is there a way to reference the second underscore in the split function?
Thank you; in advance!
Update - I resolved this by removing the second '_' in the generated filename and replacing it with a '-'. I then used the following split function:
This works for my needs.
Solved! Go to Solution.
Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!
Thank you for being an active member of the Flow Community!
Flow Community Manager
@StephenM I'm not an expert so bear with me and if I get this incorrect, hopefully the others on this chain will correct me. The '0' is referring to an index or location in the string. Hopefully these links will help:
Optional. An integer that specifies the number of splits, items after the split limit will not be included in the array
Check out the announcement of Power Platform content at Microsoft Ignite!
Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.
Features releasing from October 2020 through March 2021