add Remove Characters

Ruby