Hi All,
Can someone please help me with the like function to check whether the integers entered by the user manually should be from 01 to 10(01,02,03...09,10)
Discussion posts and replies are publicly visible
Hi shadmas0001,
You can achieve it by using two like functions.
First one validates 10 and the second one validates 01-09.
a!localVariables( local!hostName: "MYPC-CSR-01", or( like( local!hostName, { "*" & "-CSR-10" } ), like( local!hostName, { "*" & "-CSR-0[1-9]" } ) ) )
Hope this helps!
Thanks Edwin Yesa
@shadmas0001
My suggestion - text(1+enumerate(ri!input),"00"). If I give ri!input as 10, you get the required result!. You can further concat the other things as you like