then i tried the equals(Any?) function
# getting-started
o
then i tried the equals(Any?) function
a
what does
println(msg.retSender() == this.name)
print?
o
Result = false println("Result = ${msg.retSender() == this.name}")
a
now you know that both strings are NOT the same
check for trailing spaces, tabs or newlines
o
how
a
easiest way is to surround the strings you output with
"
for example
println("Msg.retSender() = '${msg.retSender()}'")
o
'##ChatterZ '
a
there you have it, one space at the end of the string
o
yeah