Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locating a number within a character string
Message
De
28/04/2000 11:45:33
 
 
À
28/04/2000 01:15:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00364345
Message ID:
00364510
Vues:
27
>Doyle,
>
>>I'm looking for a function to locate the occurance of a number within a character string such as AT(). Thhanks to all.
>
>Please explain in more detail what you need. Do you mean you want to find "675" in a character string, or you want to find the first numeral in a character string, or look for all the 9's, or what?

Try VAL(mystring)

mystring = "ABCD2345DEFG"

VAL(mystring) = 2345!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform