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

Re: Parsing text from a string


  • Subject: Re: Parsing text from a string
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 16 Mar 2005 19:16:01 -0700

On Mar 16, 2005, at 7:08 PM, Grimm, Kenneth wrote:

set testString to "Have a [nice] [day]"

set Applescript's text item delimiters to space
return words of testString

TIDs and words are unrelated. Words contain only alphanumerics and a few symbols such as the apostrophe and hyphen, but some symbols themselves are considered words. Other symbols are considered word separators and are treated like white space.


words of "the 1st bear's claw is finger-licking good/bad/indiferent. a+b=c"

--> {"the", "1st", "bear's", "claw", "is", "finger-licking", "good", "bad", "indiferent", "a", "+", "b", "=", "c", "help"}

--
I am Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.

_______________________________________________
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: Parsing text from a string (From: "Grimm, Kenneth" <email@hidden>)

  • Prev by Date: RE: Parsing text from a string
  • Next by Date: RE: Parsing text from a string
  • Previous by thread: RE: Parsing text from a string
  • Next by thread: RE: Parsing text from a string
  • Index(es):
    • Date
    • Thread