Re: version numbers
Re: version numbers
- Subject: Re: version numbers
- From: Doug McNutt <email@hidden>
- Date: Wed, 23 May 2007 10:13:54 -0600
At 17:03 +0200 5/23/07, Emmanuel wrote:
>Or, I was thinking recently, maybe AppleScript could do like Javascript with two new commands "join" and "split":
>
>split ("hello world", " ") -> { "hello", "world" }
If smile is going to do something like that remember that perl IS an Apple-provided tool where "split" is a commonly used command that would be useful - with the same argument sequence - in AppleScript.
@somelist = split /\t/, $tab-delimited_string;
Compared to "AppleScript's test item delimiters" it looks simple indeed. Note that the /\t/ might have been / +/ interpreted as a regular expression that would interpret more than one space as a single delimiter.
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
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