• 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: list to a text representation of that list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list to a text representation of that list


  • Subject: Re: list to a text representation of that list
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 15 Mar 2005 16:59:02 -0700

On Mar 15, 2005, at 4:23 PM, J.C.Burns wrote:

This should probably be very straightforward...but I want to convert a list
{"One","Two","Three", ""} ...to a string that is exactly that...a left brace, a quote, a captal O, an n, an e, a quote, a comma, and so on

set foo to {"One", "Two", "Three"} set text item delimiters to "\", \"" set bar to foo as text set text item delimiters to "" set bar to "{\"" & bar & "\"}" display dialog bar

-- Michelle

--
Velveeta is to American cheese as American cheese is to cheese.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >list to a text representation of that list (From: "J.C.Burns" <email@hidden>)

  • Prev by Date: Re: Address Book Scripts
  • Next by Date: Re: Address Book Scripts
  • Previous by thread: Re: list to a text representation of that list
  • Next by thread: Re: list to a text representation of that list
  • Index(es):
    • Date
    • Thread