• 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: cutting multiple sections from a string?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cutting multiple sections from a string?


  • Subject: Re: cutting multiple sections from a string?
  • From: Jon Pugh <email@hidden>
  • Date: Mon, 02 Sep 2013 22:29:10 -0700

On Sep 2, 2013, at 9:33 PM, Alex Hall wrote:
Basically, I need to cut multiple sets of characters from a single string, and return the string with all those characters removed. For instance, I might need to take out characters 2 through 5, 10 through 18, and 32 through 33.

Think about it the other way, you need to build a new string without those characters.  So, you’ll need chars 1, 6 thru 9, 19 thru 31 and 34 to the end, for example. Copy those chars to a new string and you’re done.

Jon

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >cutting multiple sections from a string? (From: Alex Hall <email@hidden>)

  • Prev by Date: Re: cutting multiple sections from a string?
  • Next by Date: Re: cutting multiple sections from a string?
  • Previous by thread: Re: cutting multiple sections from a string?
  • Next by thread: Re: cutting multiple sections from a string?
  • Index(es):
    • Date
    • Thread