Re: similar strings
Re: similar strings
- Subject: Re: similar strings
- From: Barry Wainwright <email@hidden>
- Date: Mon, 09 Jan 2006 15:50:50 +0000
- Thread-topic: similar strings
On 9/1/06 11:37, "Feat" <email@hidden> wrote:
> Hi, list!
>
> I need to sort strings by their degree of similarity, ignoring case. Is there
> a quick way to tell that "xxx abc zzz" and "ppp abc qqq" share the "abc"
> segment?
Not sure what you are asking for here - do you want to sort the strings by
the 'abc' field, or ignoring the 'abc' field?
Whichever way, you can do it with a 'do shell script "sort -f ..."' command.
See the man pages for a description of how to define fields and character
positions within the sort command.
--
Barry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden