Hey guys,
I need your help with a compose action in my flow.
I have an input for this action that looks like this:
ABC_DEF_GHY_XXX
Now I want to extract the stuff after the last underscore ('_'), so the XXX. I was working with
split(variables('varFolderName'),'_')[1], but when I have more than one underscore, I get a problem with split.
So how can I extract/copy the last part of my input after the last underscore? By the way, the last character is always an underscore, so no other character.
Best regards,
Dog