Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing for numeric char in a string
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00582918
Message ID:
00582923
Vues:
36
Hi,

You may do this

FUNCTION NUMINSTR(STRING)

FOR I = 1 To LEN(STRING)
IF SUBSTR(STRING,I,1) $ "0123456789"
RETURN .T.
ENDIF
NEXT
Le travail est un moyen, pas une fin.

Louis Hudon
Hydro-Québec
Informatique en Équipement
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform