add padding in Logic App same as C# String.Format

If you need to add padding and limit it to a certain length in C#

substring(concat('0000000',variables('MyNumber')),length(string(variables('MyNumber'))),7)
Above code will limit it to seven characters length

Comments are closed.