in Free Form geht das so:

string = %subst(%editc(zahl):'X'):3:2);