Re: Searching text
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