Hi all,
i am having a two digit number ( variable) in compose output as 05, 45 etc
i need to check the second digit (red color), if second digits is Zero (0) then i need to remove the zero and use first digit.
if second digits is not zero then i need to use both digit.
i have tryed using expression in flow, but its show error message as The Expression is Invalid. the expression is
if(substring(outputs('Compose'),0,1) = 0,substring(outputs('Compose'),1,1),outputs('Compose'))
please tell me what is wrong in my coding.
Solved! Go to Solution.
Why make things complicated?
the following expression will remove any leading 0s
Why make things complicated?
the following expression will remove any leading 0s
User | Count |
---|---|
85 | |
72 | |
44 | |
26 | |
25 |
User | Count |
---|---|
42 | |
25 | |
23 | |
23 | |
17 |