Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Some function?
Message
 
 
À
08/10/2002 16:43:42
Fabian Belo
Independent Developer
Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00709013
Message ID:
00709018
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
You can acomplish that with a couple of functions.
lcStr = "123RTY234"
? LEN(CHRTRAN(lcStr, "1234567890", "")) = 0
>VFP 6.0: Is there any function to display if my string is non numeric?
>ie:
>string: 123RTY234 (non numeric)
>string: FHE1234 (non n)
>string: 121345 (numeric)
>
>IsDigit() look only the first char...
>Val() returns zero if first char. is alphab.
>
>I would like to know if there is any NATIVE FUNCTION, if not.... I have to create one.
>Thanks
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform