Como substituir um personagem de uma corda

theSTRINGhere.replace('what you want to replace', '');
Repulsive Ray