• 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: Find index of list to find item in another list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Find index of list to find item in another list (From: Jim Skibbie <email@hidden>)
 >Re: Find index of list to find item in another list (From: Deivy Petrescu <email@hidden>)
 >Re: Find index of list to find item in another list (From: Skeeve <email@hidden>)
 >Re: Find index of list to find item in another list (From: Deivy Marck Petrescu <email@hidden>)
 >Re: Find index of list to find item in another list (From: Skeeve <email@hidden>)
 >Re: Find index of list to find item in another list (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Is: Setting File & Creator Type access error
  • Next by Date: Unicode versus Utf8
  • Previous by thread: Re: Find index of list to find item in another list
  • Next by thread: Re: Find index of list to find item in another list
  • Index(es):
    • Date
    • Thread