Re: Extracting a list from an item in a list
Re: Extracting a list from an item in a list
- Subject: Re: Extracting a list from an item in a list
- From: Michelle Steiner <email@hidden>
- Date: Wed, 14 Aug 2002 10:27:22 -0700
- Resent-date: Wed, 14 Aug 2002 11:00:38 -0700
- Resent-from: Michelle Steiner <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
I couldn't follow your code completely, but instead of "item 1" try
"text item 1"; the two are not synonymous.
set foo to "one:two:three:four:five"
set text item delimiters to {":"}
set bar to item 3 of foo
set text item delimiters to {""}
bar
--> "e"
set foo to "one:two:three:four:five"
set text item delimiters to {":"}
set bar to text item 3 of foo
set text item delimiters to {""}
bar
--> "three"
set foo to "one:two:three:four:five"
set text item delimiters to {":"}
set bar to item 3 of text item 3 of foo
set text item delimiters to {""}
bar
--> "r"
--Michelle
On Wednesday, August 14, 2002, at 07:42 AM, Rich Carroll wrote:
(*After I set the delimiter to a tab, I should be able to get the
items I
need. Instead I get individual characters. ARRRGH*)
set headline to item 1 of singleGraph
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.