Re: cutting multiple sections from a string?
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