Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Support for .NET String.Format() string output
Message
De
20/06/2005 11:11:40
 
 
À
19/06/2005 23:14:50
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Divers
Thread ID:
01024701
Message ID:
01024863
Vues:
14
Hi John,

String.Format() supports a rich set of formatting codes. Please see this reference:

http://radio.weblogs.com/0106479/stories/2002/12/10/stringFormattingInC.html

Textmerge() and transform() work great if you just need default output (as demonstrated by your example), but if you need to control specific formatting characteristics (date/time components, number of digits with leading chars, etc) in a CONSISTENT format between VFP and .NET, then you need a VFP Format class that accepts .NET style formatting strings and generates the equivalent output.

Does this make sense?

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform