Tuesday, December 11, 2018

MS Flows | How to remove last few character in MS Flows from a string

Question: How to remove last few characters from a string in MS Flows?

Answer:


substring(variables('LicenseTypes'),0,sub(length(variables('LicenseTypes')),2))

1) I took example of a string variable
2) Make sure change the variable with your values
3) Make sure you Change the number value at end, I am removing last 2
characters from the string




No comments:

Post a Comment