
[/qb]<hr></blockquote>
That is a different situation.
The reason that works is because of this statement.
The condition in the else if will only be checked if you send a String object to the equals method.
But that is not the purpose of the equals method of BetterString.
The intention is to determine when one BetterString object is equal to another.
bs.equals(bs) only returns true because of this.
which does not
test the contents of the BetterString object.
[ July 12, 2006: Message edited by: Keith Lynn ]