Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help wanted for cleaning a field
Message
De
22/10/1996 21:51:30
 
 
À
22/10/1996 21:29:46
Sam Zhong
Fort Worth Star-Telegram
Fort Worth, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00010765
Message ID:
00010766
Vues:
32
>Hi Masters,
>
>How can I remove the double quatation marks in a field? For example, I have a field called "firstname", and after each record, it comes with a ", like Sam", Eric", John", ect. The file was converted from text format. What command should I use to remove them? I tried to use the command like "REPLACE ALL FIRSTNAME WITH STRTRAN(FIRSTNAME,""",""), but it didn't work. The message error is ")missing". I am using FoxPro 2.6 for Windows. Your help will greatly apprecialted.
>
>I can be reached at szhong@startext.net
>
>Sam Zhong

REPLACE ALL FIRSTNAME WITH STRTRAN(FIRSTNAME,'"',"") should work.

When you use either ' (quote) or " (double quote) as delimitators for char strings in FoxPro.

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform