Re: String diff?
Re: String diff?
- Subject: Re: String diff?
- From: Nicko van Someren <email@hidden>
- Date: Mon, 20 Mar 2006 09:51:27 +0000
On 19 Mar 2006, at 19:20, John C. Randolph wrote:
Does anyone have a category sitting around that finds the
difference between a pair of NSStrings? I can wrap diff(1), but I'd
rather do it in memory.
I don't have an objective C wrapper for it but the Gnu diff algorithm
is by Myers (http://citeseer.ist.psu.edu/myers86ond.html). I'm sort
of busy at the moment otherwise I'd look at porting it but there
seems to be some code written in Java available under the LGPL which
you could start from.
Cheers,
Nicko
_______________________________________________
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: | |
| >String diff? (From: "John C. Randolph" <email@hidden>) |