*:Diferent because CHRTRAN look for the chars even if they ain't together CHRTRAN(CHRTRAN(myfield, "-G", ""), "-B", "") *Or RIGHT(myfield, LEN(alltrim(myfield))-2) &&This will work only if the -X is always at the end
DO WHILE .T. ME.Work() ENDDO