Pergunta de entrevista da empresa BNY

String immutability. What would string.replace do?