• 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: Searching text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching text


  • Subject: Re: Searching text
  • From: "Mark Munz (DevList)" <email@hidden>
  • Date: Wed, 1 Jun 2005 17:27:07 -0500

I'd recommend starting off with the basic NSMutableString. Once you've mastered that, then dealing with something like OgreKit for Regular Expressions would be your next step.

I always think it's important to be able to walk before you run. OgreKit is good, but it sounds like you're still dealing with the Cocoa learning curve. Better to master the basics and then dive into something like OgreKit for RegEx.

Mark Munz

On Jun 1, 2005, at 10:31 AM, Paul Harvey wrote:

Hello

I'm looking for something for NSTextViews (or strings) similar to PHP or other languages, to search and replace matched strings, a la str_replace(search, replace, source).

Ultimately I'd like to perform this with RegEx, but 'standard' string comparison functions would be a great place for me to get started.

I'm assuming I need to use some Cocoa functions for this, as the strings are NSStrings not standard C strings.

Forgive my ignorance, I'm very new to Cocoa, but have bags of enthusiasm! I'm willing to look it all up, if someone can just get me pointing in the right direction. My searches of the documentation has not turned up any results to far...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Searching text (From: Paul Harvey <email@hidden>)

  • Prev by Date: Determining the true type from an NSNumber
  • Next by Date: Re: glyphWithName: broken on Tiger ?
  • Previous by thread: Re: Searching text
  • Next by thread: Re: Custom cell in NSTableView
  • Index(es):
    • Date
    • Thread