Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email using mailto
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00924485
Message ID:
00925110
Vues:
26
David,

Good catch for the problem using chrtran().

But why wouldn't this work:
lcText = strtran( lcText, chr(13)+chr(10), "%0d%0a" )
>
>>I think it should be
>lcText = chrtran( lcText, chr(13)+chr(10), "%0d%0a" )
>
>That's not going to work. Since you are converting one character to 3 characters it's going to take two strtran() calls.
>
>
>lcText = strtran( lcText, chr(13), "%0d" )
>lcText = strtran( lcText, cht(10), "%0a" )
>
Mike C.
-------
I keep trying to find a life of my own, apart from you.
DC Talk/Charlie Peacock, In the Light.
www.risensystems.com/ra/itlbegin.rm
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform