V�rifie si une cha�ne est convertible en integer.
StringIsInt ( "string" )
string | La cha�ne � analyser. |
Succ�s: | Retourne 1. |
�chec: | Retourne 0 si la cha�ne ne contient pas un nombre entier. |
IsInt, StringIsDigit, StringIsFloat
#include <MsgBoxConstants.au3> MsgBox($MB_SYSTEMMODAL, "", "Est-ce que la cha�ne '+42' est un nombre entier: " & StringIsInt("+42") & @CRLF & _ ; Retourne 1, car le symbole + est, au d�but de la cha�ne. "Est-ce que la cha�ne '-00' est un nombre entier: " & StringIsInt("-00") & @CRLF & _ ; Retourne 1, car - est au d�but de la cha�ne. "Est-ce que la cha�ne '1.0' est un nombre entier: " & StringIsInt("1.0") & @CRLF & _ ;Retourne 0, en raison de la virgule. "Est-ce que le nombre 1.0 est un nombre entier: " & StringIsInt(1.0) & @CRLF & _ ; Retourne 1, en raison du nombre dans la cha�ne convertie. "Est-ce que la cha�ne '1+2' est un nombre entier: " & StringIsInt("1+2") & @CRLF) ;Retourne 0, car le symbole plus (+) n'est pas au d�but de la cha�ne.