Returns true or false when testing StringIsNum, as in, Is the string a numeric value only?
I tested in the AutoIT SciTE – Lite program
ConsoleWrite(StringIsNum('Example') & @CRLF) ConsoleWrite(StringIsNum('123456') & @CRLF) ConsoleWrite(StringIsNum('Example & 123456') & @CRLF) Func StringIsNum($sString) Return StringRegExp($sString, "^([0-9]*(\.[0-9]+){1}|[0-9]+(\.[0-9]*){0,1})$") = 1 EndFunc ;==>StringIsNum