• 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 strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Parsing strings (From: "W. Thomas Leroux" <email@hidden>)
 >parsing strings (From: Michelle Steiner <email@hidden>)
 >Re: parsing strings (From: deivy petrescu <email@hidden>)

  • Prev by Date: Re: parsing strings
  • Next by Date: Re: FM 8 layout references w/applescript - works in one file, fails in five other identical files!
  • Previous by thread: Re: parsing strings
  • Next by thread: Re: FM 8 layout references w/applescript - works in one file, fails in five other identical files!
  • Index(es):
    • Date
    • Thread