Re: Find index of list to find item in another list
Re: Find index of list to find item in another list
- Subject: Re: Find index of list to find item in another list
- From: Skeeve <email@hidden>
- Date: Fri, 03 Jul 2009 21:46:56 +0200
Deivy Petrescu schrieb:
please read the original post.
I did.
My solution works for problems presented by that post.
Sure. For that problem my script:
2
works also.
No, read the original post. This script is not a solution for that post.
It is, as it gives the exact same example.
But if you read the original carefully:
For example, I have data that
is separated into jobs and related items, so:
123456 has items A, B, C
123457 has item D
123458 has items E, F
You will see the small (but important) word "example". So it is an
example and not the actual data. There is also no hint as to what the
jobs in reality look like.
So I gave you another eample:
For example, I have data that
is separated into jobs and related items, so:
123456 has items A, B, C
oops123457wrong has item nope
123457 has item D
123458 has items E, F
No find - with your "solution" - the index for job "123457". You'll get
the index for job "oops123457wrong" because you didn't anchor your
search string.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden