• 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: How to know if an NSString contains a string?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to know if an NSString contains a string?


  • Subject: Re: How to know if an NSString contains a string?
  • From: Jan Van Boghout <email@hidden>
  • Date: Sat, 11 Jan 2003 10:18:25 +0100

Thanks for the replies everyone. I had already put together a thing with stringComponents but this is much better :)

I guess this is one of those things I'll smack myself for, but I can't find a good way to do it:

How do I know if a string contains another string? Something like myBool = [myString containsString:@"bla"] is what I need.

Any pointers?

Thanks,


Jan Van Boghout
_______________________________________________
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: 
 >How to know if an NSString contains a string? (From: Jan Van Boghout <email@hidden>)

  • Prev by Date: Re: Aqua Human Interface and Safari
  • Next by Date: Apple and Cocoa (why don't they eat their own dog food?)
  • Previous by thread: Re: How to know if an NSString contains a string?
  • Next by thread: -[NSCell setSelectable:]... not working
  • Index(es):
    • Date
    • Thread