That and make sure you aren't using "contains(Object element)" as that is not the same as "containsObject(Object object)". This bit me a couple times before I quit making that mistake - usually in the wee hours of the morning.

Dave

On May 8, 2008, at 8:00 AM, Miguel Arroz wrote:

Yap. containsObject compares objects using equals(), so it should work for Strings. If you are not finding the string with this, it's because it's not on the array. :) Maybe you need to trim() some white spaces?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to