Some it's needed to cut the file extension from a file name.
Here are 2 steps to do it.
We 'll use the actions named:
Use the following variables for this sample
Set the String attribute with your filename. In my sample I am getting it from a Sharepoint Column name named "ItemwithExtension"
Then set the String operation to "Extract"
The pattern used is [^/]*(?=\.[^.]+($|\?)) with ignore case checked
Finally set a collection variable ( varWithout2 in this case ) to get the results
Finally set a collection variable ( varWithout2 in this cae) to get the results
This action is set to extract he first value from the collection variable (varWithout2) and set the result on the variable named varWithoutExtension
In my sample I wanted to view the results on the History list from a string with the value fhunth.photo.jpg and the results showed is fhunth.photo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.