Re: String to multiple-item list coercion
Re: String to multiple-item list coercion
- Subject: Re: String to multiple-item list coercion
- From: Nigel Garvey <email@hidden>
- Date: Thu, 26 Sep 2002 01:19:24 +0100
has wrote on Tue, 24 Sep 2002 22:20:08 +0100:
>
set {day:a, month:b, year:c} to date "Sunday, September 1, 2002 12:00:00am"
>
return {a, b, c}
>
--> {1, September, 2002}
That's not only the most interesting technique I've seen on this list for
several weeks, but it's very much faster than the list assignment
alternative:
set {a, b, c} to date "Sunday, September 1, 2002 12:00:00am"'s {day,
month, year}
:-)
NG
_______________________________________________
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.