Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Existence of a field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00761708
Message ID:
00761818
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>Hi Fred,
>
>I have another question again.
>
>Is it possible to caculate the value of the very right numbers of a character string with one function like?
>
>I mean like
>anmmjj123 which yield 123
>mmn23 which yield 23
>ooo89 which yield 89
>
>Thank you,
>Ali

If all the other characters are non-digits, you could do:

? VAL(CHRTRAN("test123",CHRTRAN("test123","1234567890",""),""))
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform