• 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 Variable Comparision
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSString Variable Comparision


  • Subject: RE: NSString Variable Comparision
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Wed, 9 Jul 2003 14:20:50 -0400

if ([string1 isEqualToString:string2])

There's a whole section of the NSString docs entitled "Identifying and
comparing strings." It's really useful.

Jonathan

> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden]On Behalf Of Vibhu Mishra
> Sent: Wednesday, July 09, 2003 1:04 PM
> To: email@hidden
> Subject: NSString Variable Comparision
>
>
> Greetings again,
> Can I compare two NSString Variables, if so how do I do it?
> I believe for two integer, float etc variables, we use
> if (int a == int b){
> //
> }
> What do I do for two NSString variables.
>
> ...
> Vibhu
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSString Variable Comparision (From: Vibhu Mishra <email@hidden>)

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