Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing chr(10)
Message
 
À
22/06/2006 11:20:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Divers
Thread ID:
01130832
Message ID:
01131211
Vues:
11
>>Hi all
>>I have to run a scan/endscan on table and to do the following changes in memo field: if the first letter is chr(10) (empty line/paragraph) remove this line (all the other lines will go up one line).
>>Help please
>
>Replace all yourfield with substr(yourfield,2) for yourfield=chr(10)

If you are using VFP 9 you might be able to use LTRIM().

Replace all yourfield with LTRIM(yourfield,0,chr(10)) for yourfield=chr(10)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform