Re: Ma always said: there is a time to take and a time to give [Mid(Source, Start, End)]
Re: Ma always said: there is a time to take and a time to give [Mid(Source, Start, End)]
- Subject: Re: Ma always said: there is a time to take and a time to give [Mid(Source, Start, End)]
- From: Skeeve <email@hidden>
- Date: Mon, 27 Oct 2008 19:37:14 +0100
Christopher Nebel schrieb:
Or, even better, leave that line out entirely, because StringLength is
never used after it's set.
Sure. Except if you read:
and when you create a handler for this why not catch the case that
Charcount+Startcount is higher than the string's length?
And do accordingly:
if StringEnd > StringLength then set StringEnd to StringLength
_______________________________________________
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