Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chrtran() applied selectively
Message
De
07/06/2016 03:17:20
 
 
À
07/06/2016 02:58:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01636985
Message ID:
01637044
Vues:
68
>
>Hi Karen:
>
>Another solution here :D
>
>Considering that there are always three "parts" separated by ":" symbol, this will do it in pure VFP:
>
>
>mstr='1st-title: ANAME-HER : 3520931 place[21-22]'
>? GETWORDNUM(mstr, 1, ':') + ':' + GETWORDNUM(mstr, 2, ':') + ':' + CHRTRAN(GETWORDNUM(mstr, 3, ':'), '-', '.')
>
Yes, but it turns out that the hyphen is not always a hyphen
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform