• 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: 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

  • Follow-Ups:
    • Re: How do I delete the 1st three characters from a variable
      • From: Michelle Steiner <email@hidden>
    • Re: How do I delete the 1st three characters from a variable
      • From: Dave Balderstone <email@hidden>
    • Re: How do I delete the 1st three characters from a variable
      • From: "Mark J. Reed" <email@hidden>
    • Re: How do I delete the 1st three characters from a variable
      • From: Mark Lively <email@hidden>
  • Prev by Date: Re: Need help with image events droplet to save multiple files as png
  • Next by Date: Re: How do I delete the 1st three characters from a variable
  • Previous by thread: Re: Beast way to test for OS version
  • Next by thread: Re: How do I delete the 1st three characters from a variable
  • Index(es):
    • Date
    • Thread