Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strip control characters from string
Message
De
13/07/2007 11:54:13
 
 
À
11/07/2007 09:32:38
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01239214
Message ID:
01240252
Vues:
15
This message has been marked as a message which has helped to the initial question of the thread.
>That's the problem. I always think giving more information is better, but in a case like this I should have simply asked how to strip control characters out of a string; the rest was superfluous. Thanks!

I don't think it was superfluous.

Now that you stripped off the character you stripped off the line ends, instead of stripping off chr(10) (I assume) you could have replaced it by chr(13)+chr(10).
strtofile(strtran(filetostr("yourfile"),chr(10),chr(13)+chr(10)),"yourtranslatedfile")
Then you can APPEND that data to your table, which seems to be the final goal.

Bye, Olaf.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform