Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CHRTRAN not working for me
Message
De
09/04/2008 09:29:00
 
 
À
09/04/2008 09:25:35
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01309270
Message ID:
01309274
Vues:
9
You could use IF AT(...) instead of DO WHILE.

>This goes into an endless loop for me. It is not stripping out the period so it just keeps looping.
>
>
>tcName = 'Amerson, Jr., Harry L'
>
>* Strip periods
>DO WHILE AT('.',tcName) > 0
>	CHRTRAN(tcName,'.','')
>ENDDO
>
>
>Oh, and I didn't look at the help, but the intellisense was pretty clear on the syntax. I may have missed something though. Sorry if I did, but I would really like some help here. Or maybe some suggestions on a better way to do it.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform