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
i dont quite understand what the  does on the expression - could someone please explain
Also, how did youremove the second '_' in the generated filename and replace it with a '-' ? could you explain that please
@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
Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.
Many congratulations to the Season 1 2021 Flownaut Crew!
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.