Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting Numerics in Right-Aligned strings
Message
 
À
08/07/1997 11:57:22
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00038937
Message ID:
00038985
Vues:
41
>>lcNewString = left(space(9)+ alltrim(str(lnCurValue)), 9)
>
>YES, thats what i was looking for, but i guess instead of left function it should be right, pls correct me if I am wrong.
>
>Thanks a lot..

Vinod,

The PADL() functio is exactly for this situation;

lcNewString = PADL(str(lnCurVal),9)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform