• 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: more questions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more questions...


  • Subject: Re: more questions...
  • From: Allen Watson <email@hidden>
  • Date: Thu, 01 Aug 2002 22:38:57 -0700

On or near 7/26/2002 1:57 PM, Rips Ethan J at email@hidden observed:

> How would one go about pulling a substring (i.e., an item code) from a
> larger string (the entire file name)? Can it be done via TIDs or must it be
> done by some other means? Unless I'm missing something, ASLG, & the Goodman
> book are silent on this one (at least, I can't hear them)...

You mean like getting "AB123CDEF" and extracting the numeric part, assuming
it is always 3 digits preceded by two letters?

set x to text 3 thru 5 of "AB123CDEF"
--x= "123"

--
Allen Watson, Portland, OR -- <email@hidden>
My web page: <http://home.earthlink.net/~allenwatson/>
Teach only love, for that is what you are. (A Course in Miracles)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Jaguar for $60
  • Next by Date: Re: update images in Quark
  • Previous by thread: Re: Move a sound file
  • Next by thread: Re: update images in Quark
  • Index(es):
    • Date
    • Thread