Replace "text" with "string" in message