assuming your text is in %text

%text = $replace(%text,degrees,$chr(176))