Is there any function to check whether the entered input is non-numeric or numeric?Thanks!...
OriginalPostID-106178
Discussion posts and replies are publicly visible
janakik
Following code will tell whether it's a Numeric, Alfa Numeric or Text. To test change the local!input to 1. 123, 2. "123abc", 3. "abc".
a!localVariables( local!input, { if( a!isNullOrEmpty(local!input), "It's Empty !", if( a!isNullOrEmpty(tointeger(text(local!input, "#"))), "It's a Text !", if( tointeger(text(local!input, "#")) = local!input, "It's a Numeric !", "It's a Alfa Numeric !" ) ) ) } )
Awesome , This is the right Solution