Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing extra spaces in MIDDLE of str.
Message
De
25/07/2001 21:41:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00535205
Message ID:
00535483
Vues:
17
>>how about this
>>
>>thistemp = 'Iain           Brodie'
>>? subs(thistemp, 1, at(' ', thistemp)-1)+' '+subs(thistemp, rat(' ',thistemp)+1)
>>
>
>Hi Iain,
>
>Just check reduce function from FoxTools (which, of course, needs to be loaded first). So, it's a one line of code: lcString=reduce(m.lcString) :)
What about this:
abc = STRTRAN(abc, ' ', '')

Mark
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform