From: "Iñaki Baz Castillo" Date: 2008-04-16T01:46:32+09:00 Subject: Re: How to duplicate a object changing the class without attributes memory copy 2008/4/15, Gennady Bystritsky : > You do not change the value, you just assign a reference to a new string. To change the content of a string object you need to use replace() on it. It looks like it omits you that "AAAA" and "BBBB" make string objects already and not just when you assign them to a variable. Thanks to both, I've understood now: a="AAAA" => "AAAA" a.object_id => -606056138 a="BBBB" => "BBBB" a.object_id => -606063498 Thanks :) -- Iñaki Baz Castillo