• 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
What's in a word
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What's in a word


  • Subject: What's in a word
  • From: John McClintock <email@hidden>
  • Date: Wed, 17 Oct 2012 13:03:16 -0400

In the following, why is word -1 of a_url "jpg" and word -1 of the_url the whole file name?


set a_url to "http://stereo-ssc.nascom.nasa.gov/browse/2009/08/02/ahead/euvi/195/1024/20090802_001530_n7euA_195.jpg";
set the_url to "http://stereo.gsfc.nasa.gov/browse/2012/10/09/ahead/cor1/1024/20121009_001024_s4c1A.jpg";

display dialog "Word -1  of a_url is " & word -1 of a_url & return & "Word - 1 of the_url is " & word -1 of the_url

?

John McClintock
email@hidden




 _______________________________________________
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

  • Follow-Ups:
    • Re: What's in a word
      • From: Jon Pugh <email@hidden>
    • Re: What's in a word
      • From: Shane Stanley <email@hidden>
    • Re: What's in a word
      • From: Christopher Stone <email@hidden>
    • Re: What's in a word
      • From: "Saunders, Eric" <email@hidden>
    • Re: What's in a word
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: set zoom of desk top
  • Next by Date: Re: What's in a word
  • Previous by thread: Re: Summary: set zoom of desk top
  • Next by thread: Re: What's in a word
  • Index(es):
    • Date
    • Thread