string.setto(string) changes a string by overwriting it with a new content. Since the object is changed directly in place, all references to the string see the change. This methode might be faster than creating a copy, in some situations.