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

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


  • Subject: Re: How do I delete the 1st three characters from a variable
  • From: Dave Balderstone <email@hidden>
  • Date: Wed, 4 Jan 2006 18:34:57 -0600


On 4-Jan-06, at 5:30 PM, Patrik B. wrote:

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

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

;-)

_______________________________________________
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


References: 
 >How do I delete the 1st three characters from a variable (From: "Patrik B." <email@hidden>)

  • Prev by Date: Re: get size of available screen fails
  • Next by Date: Re: How do I delete the 1st three characters from a variable
  • Previous by thread: 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