• 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: version numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: version numbers


  • Subject: Re: version numbers
  • From: Emmanuel <email@hidden>
  • Date: Wed, 23 May 2007 17:03:06 +0200

At 4:47 PM -0500 5/22/07, James Nierodzik wrote:
Very cool Christopher, I wasn't familiar with this.

And since you wear the hat of AS Eng how about

set some_list to {"I", "want","to","be","a","string"}
set some_string to some_list using text delimiters "whatever"

rather than the longer version:

* set variable to current delimiters
* set current delimiters to user defined
* coerce the list to string
* set delimiters back

here's to wishful thinking!

Or, I was thinking recently, maybe AppleScript could do like Javascript with two new commands "join" and "split":


split ("hello world", " ") -> { "hello", "world" }

join ( {"hello", "world"} , " " ) -> "hello world"

Emmanuel
_______________________________________________
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
  • Follow-Ups:
    • Re: version numbers
      • From: Christopher Nebel <email@hidden>
    • Re: version numbers
      • From: Doug McNutt <email@hidden>
References: 
 >version numbers (From: Chris Swain <email@hidden>)
 >Re: version numbers (From: Christopher Nebel <email@hidden>)
 >Re: version numbers (From: James Nierodzik <email@hidden>)

  • Prev by Date: Network file permission error
  • Next by Date: Re: Network file permission error
  • Previous by thread: Re: version numbers
  • Next by thread: Re: version numbers
  • Index(es):
    • Date
    • Thread