Inside our automated flow, i am getting the Folder Path of a file which will be something as follow:-

Inside our automated flow, i am getting the Folder Path of a file which will be something as follow:-
Split the string on the / in a compose and then access the second element using outputs('Compose')[1]