Get position of item in list
Get position of item in list
- Subject: Get position of item in list
- From: Joseph Weaks <email@hidden>
- Date: Mon, 23 Jun 2003 14:12:32 -0500
I know how to do this with a repeat loop, but surely there's a syntax I
can't figure out for
property: myList: {"foo","bar"}
set foobar to the position of "bar" in myList
-- looking for 2 as the result
Thanks,
Joe
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.