Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing multiply characters within a dbf field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00446552
Message ID:
00446554
Vues:
8
chrtran(myfield,"/\,*#"," ")

Then use strtran() to cut the double spaces. For more information, check out the help on these.

HTH.

>I would like to replace characters such as / \ , * # etc with a specific field. I would be replace these characters with a single space. The ideal would be to run such a function so that it scans the field entirely and does the replacements. Then I would need to apply a replace function that would get rid of any double spaces that are in the field.
>
>Thanks
>
>Peter
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform