[英]How we can check the the variable text is number or not in Azure logic app without inline
I have variables a = "hhddj";
我有变量
a = "hhddj";
Variable b = "1234";
变量
b = "1234";
. . I need an expression that gives a is type
string
and b is type int
.我需要一个表达式,它给出 a 是
string
类型,b 是int
类型。 Like we have Isnumeric(a)
needs to return false
, and Isnumeric(b)
needs to return true
.就像我们有
Isnumeric(a)
需要返回false
,而Isnumeric(b)
需要返回true
。
The following expression can be used for checking whether the text in variables('a')
is in fact an integer:以下表达式可用于检查
variables('a')
中的文本实际上是否为 integer:
equals(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(variables('a'), '0', ''), '1', ''), '2', ''), '3', ''), '4', ''), '5', ''), '6', ''), '7', ''), '8', ''), '9', ''), '')
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.