• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString comparisons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString comparisons


  • Subject: Re: NSString comparisons
  • From: Deirdre Saoirse Moen <email@hidden>
  • Date: Tue, 13 Apr 2004 18:36:59 -0700 (PDT)

On Tue, 13 Apr 2004, Randall Perry wrote:

> Can anyone point me to examples of using NSString comparison methods? API
> doesn't give examples. Neither do the 2 WO books I have.

Why an NSString instead of a Java String?

String str1 = "foo";
int isDifferent = str1.compareTo("bar");

--
_Deirdre                                             http://deirdre.net
"Ideally pacing should look like the stock market for the year 1999, up
and up and up, but with lots of little dips downwards...."
                                     -- Wen Spencer on plotting a novel
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSString comparisons (From: Randall Perry <email@hidden>)

  • Prev by Date: NSString comparisons
  • Next by Date: Re: NSString comparisons
  • Previous by thread: NSString comparisons
  • Next by thread: Re: NSString comparisons
  • Index(es):
    • Date
    • Thread