Rename a string