Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting Numerics in Right-Aligned strings
Message
De
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:
00038946
Vues:
38
>>if you are talking about string in hebrew or arabic
>>the best way would be to use a localized version of windows and a localized
>>version of VFP (there is one for hebrew most probably an arabic version is
>>alos available - it shouldn't be too differnet)
>>
>>Arnon
>>
>>>
>>> What is the quickest way of converting numerics in right-aligned strings
>>> ??
>>>
>>> Is a handy method available with anyone or I have to write the whole
>>> routine myself...
>>>
>>> Thanks in advance...
>>>
>
>for hundred millions (9 chars)
>
>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..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform