How do I delete the 1st three characters from a variable
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: Tue, 3 Jan 2006 12:36:15 -0800
Hi,
I am trying to replace images that are in one language with those of
another. I.e. DAN-image.eps to ENG-image.eps.
The problem I have is I don't know how to delete the 1st three characters.
This is what I tried.
set myimage to "DAN-image.eps"
copy myimage from offset 4 to mynewimagename -- this is the approach I tried
Then I have a handler that adds the prefix "ENG-" again.
Does anybody know how to do this? It is probably very simple but I have not
learned how delete individual strings from a variable in order to form a new
variable. If you know how please let me know!
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