Copy a string: Difference between revisions
Content deleted Content added
Actually copying a string |
Note about string singletons |
||
Line 209: | Line 209: | ||
False |
False |
||
</pre> |
</pre> |
||
Some strings like empty string and single character strings like 'a' still return the same object even with this method. |
|||
==[[Ruby]]== |
==[[Ruby]]== |