Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting rid of carriage returns in memo fields
Message
De
20/08/1999 21:28:45
 
 
À
20/08/1999 21:26:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00256063
Message ID:
00256159
Vues:
29
>Hi Ed,
>
>>REPLACE Table1.Memo WITH STRTRAN(STRTRAN(table1.memo,CHR(13),''),CHR(10),'')
>
>I don't know for sure, thats why I'm asking you, how 'bout:
>
>REPLACE Table1.Memo WITH CHRTRAN(table1.memo,CHR(13)+CHR(10),'')
>?

That should work fine, and be quicker as well. The key is that both characters have to be replaced, and that they need not occur in matching pairs.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform