Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtran() / Stuff() / Padr() ???
Message
De
05/08/1999 00:09:04
 
 
À
04/08/1999 11:40:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00249697
Message ID:
00250062
Vues:
27
Not that it would really matter here, but chrtran() is faster than strtran().

I like your solution...

Vlad

>>What is the best way to replace # Signs after . with 0 ??
>
>I belive the best way (with strings of course) is
>
>
lcInput='###,###,###.##'
>lcOutput=JUSTSTEM(lcInput)+'.'+STRTRAN(JUSTEXT(lcInput), '#', '0')
Much simpler.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform