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
Join us for the first ever Power Platform Online Conference!
Look out for new contribution recognition badges coming SOON!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!