• 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: Substring in String?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Substring in String?


  • Subject: Re: Substring in String?
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 17 Feb 2002 18:26:34 +0100

Nick,

>>>>>> Nick Muller (NM) wrote at Sun, 17 Feb 2002 13:10:08 +0100:
NM> >Is there a way to discover if there's a specific substring in a string
NM>
NM> rangeOfString:<searchString>
NM>
NM> >and if so to return a boolean value?
NM>
NM> Obj-C: adding a category.

Unless it's needed for some automatic key/value coding like WO use, I guess
it would be an overkill, since things like

if ([s rangeOfString:ss].length) ...

are quite straighfroward, aren't they?
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.

  • Follow-Ups:
    • Re: Substring in String?
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: Substring in String? (From: Nick Müller <email@hidden>)

  • Prev by Date: Re: FSpCreateResFile is returning -1402
  • Next by Date: Re: what's an NSZone?
  • Previous by thread: Re: Substring in String?
  • Next by thread: Re: Substring in String?
  • Index(es):
    • Date
    • Thread