• 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: Tidying a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tidying a string


  • Subject: Re: Tidying a string
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 28 Apr 2005 10:29:21 -0700

On Apr 28, 2005, at 10:04 AM, Martin Orpen wrote:

Or the lazier:

set t to "  foo    bar foo    bar foo bar   "
set AppleScript's text item delimiters to " "
log words of t as string
set AppleScript's text item delimiters to ""

--> (*foo bar foo bar foo bar*)

Good solution. BTW, TIDs aren't needed there.

I missed seeing the forest because of the trees.

-- Michelle

--
Peter pull at St. Taffy's tonight! (Or is it the other way around?)

_______________________________________________
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: 
 >Re: Tidying a string (From: Martin Orpen <email@hidden>)

  • Prev by Date: Re: Tidying a string
  • Next by Date: Re: Logging to terminal
  • Previous by thread: Re: Tidying a string
  • Next by thread: Re: Tidying a string
  • Index(es):
    • Date
    • Thread