Re: parsing strings
Re: parsing strings
- Subject: Re: parsing strings
- From: Michelle Steiner <email@hidden>
- Date: Wed, 21 Mar 2007 15:01:20 -0700
On Mar 21, 2007, at 2:55 PM, deivy petrescu wrote:
Complementing Michelle's message:
<script>
set mystring to "Help, I'm caught between these parentheses, and I
can't get out"
{first character of mystring, middle character of mystring, last
character of mystring}
----{"H","p","t"}
</script>
Extending that further:
set mystring to "Help, I'm caught between these parentheses, and I
can't get out"
some character of mystring
--> "e"
some character of mystring
--> I
some character of mystring
--> s"
reverse of characters of mystring as text
--> "tuo teg t'nac I dna ,sesehtnerap eseht neewteb thguac m'I ,pleH"
--
"Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?
Where is the information we have lost in data?"
T.S. Eliot (1915)
_______________________________________________
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