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

Re: Parsing filenames


  • Subject: Re: Parsing filenames
  • From: Gary Lists <email@hidden>
  • Date: Wed, 11 Jun 2003 23:22:50 -0400

On or about 6/11/03 10:38 PM, brian mather wrote:

> I've no trouble with
> the latter from previous experience, but I'm stumbling on how to strip the
> "p" from files named like "p123.tif"

set fname to "p123.tif"
set shortname to text 2 thru (length of fname) of fname
--> "123.tif"

--
Gary

MacOS 9.1 / "9 is Fine"
OMM: osa:AS 183 / osa:JS 103 / FM 55 / BB601 / Smile 188
______________________________________________________________
Please reply directly to the list.
Incoming messages are auto-deleted. (It's anti-spam, that's all.)
_______________________________________________
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.

  • Follow-Ups:
    • Re: Parsing filenames
      • From: Michelle Steiner <email@hidden>
References: 
 >Parsing filenames (From: brian mather <email@hidden>)

  • Prev by Date: creating temp files??
  • Next by Date: Re: Finding only visible files...
  • Previous by thread: Parsing filenames
  • Next by thread: Re: Parsing filenames
  • Index(es):
    • Date
    • Thread