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