Re: Maybe it's too late
Re: Maybe it's too late
- Subject: Re: Maybe it's too late
- From: Joshua Paul <email@hidden>
- Date: Thu, 8 May 2008 06:25:26 -0700
Thanks all...
it was a matter of upper/lowercase.
On May 8, 2008, at 6:10 AM, David Avendasora wrote: That and make sure you aren't using "contains(Object element)" as that is not the same as "contains Object(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?
-- Josh Paul
twitter: joshpaul linkedin: joshpaul
NOTICE: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden