Re: How do I delete the 1st three characters from a variable
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