Same in eiffel...
ie instead of this for simple variables:
a = b
for strings you need:
equal(a,b)
simple variables:
a = 7
b = 7
strings
a = 28E
28E = "seven"
b = FB4
FB4 = "seven"
The simple int variables both hold the value 7.
The more complex string variables hold the location of the strings position in memory (a pointer.) In this case a holds a reference to position "28E" in the core memory, while b holds a reference to position "FB4" in core memory.
Of course if you actually follow the pointers you find out that both 28E and FB4 hold the string "seven" but a != b as they hold different values. (28E != FB4)
Note the hex numbers are completely made up and probably point to some bad (or nonexistent) location in memory if you actually work them out...
(someone please correct me if I'm wrong, this may be tested so I'd like to get it right.
)