Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing extra blanks in a memo field
Message
De
04/04/2000 16:02:08
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
 
 
À
04/04/2000 15:45:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00355212
Message ID:
00355227
Vues:
26
str2bclean = memo.field
noxspaces = strtran(str2bclean,space(2),"") &&remove blanks more than one space
noxlines = strtran(noxspaces,chr(13)+chr(10),"") &&see below
cleanstr = Upper(noxlines) &&or some other finishing touch

&& note, this method assumes you want a single unbroken string from your memo field. This won't work if you want to preserve line breaks, yet strip extra blank lines.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform