Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stumped
Message
 
À
24/04/1998 16:38:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00094441
Message ID:
00094884
Vues:
28
>>I would do RIGHT(ALLTRIM(cField),2) FOR state and SUBSTR(cField,1, LEN(cFiled)-2) for city
>
>So do it :)

The key here is that you have to trim the field before you start evaluating it. The second part of your statement without the trim on cField starts its evaluation from the end of the field(including spaces)

Bill
CySolutions, Medical Information Technology
You're only as good as your last
success, so . . .If it works. . .don't fix it!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform