Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing characters from a value in a field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00833803
Message ID:
00833842
Vues:
18
CHRTRAN(CHRTRAN(myfield, "-G", ""), "-B", "") && Displays 'ob'
? RIGHT(myfield, LEN(alltrim(myfield))-2) && Displays 'b-B'

Gee, Sergey you're tottally right:

CHRTRAN will kill all the B's and G's and '-'

and the right, should be Left
LEFT(myfield, LEN(alltrim(myfield))-2)
.......
DO WHILE .T.
      ME.Work()
ENDDO
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform