Re: Parsing text from a string
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