• 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
How do I delete the 1st three characters from a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I delete the 1st three characters from a variable


  • Subject: How do I delete the 1st three characters from a variable
  • From: "Patrik B." <email@hidden>
  • Date: Wed, 4 Jan 2006 15:30:56 -0800

Hi,

Thanks to everyone who gave his input on this issue. I learned something new.

As I was in a time crunch however I made the handler below (based on a book
I have) before I got the feedback. I will use the new function I learned
from you guys from now on though, thanks again!

on bust2(s)
set text item delimiters to "-"
set pathparts to text items of s
set nameparts to text items of last item of pathparts
return {nameparts}
end bust2

Best, Patrik
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How do I delete the 1st three characters from a variable
      • From: Dave Balderstone <email@hidden>
  • Prev by Date: mounting ejected volumes
  • Next by Date: Re: How do I delete the 1st three characters from a variable
  • Previous by thread: Re: How do I delete the 1st three characters from a variable
  • Next by thread: Re: How do I delete the 1st three characters from a variable
  • Index(es):
    • Date
    • Thread