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: André Berg <email@hidden>
- Date: Mon, 27 Oct 2008 19:40:37 +0100
Interesting.
I always intuitively thought that the phrase
characters of
would return single characters regardless of the
current value of text item delimiters, while
text of
would return tokens separated by the current value of
text item delimiters.
Apparently I was wrong...
André
set
TargetString to (characters StartCount thru StringEnd of StringSource)
as string
--better--> set TargetString to text StartCount thru StringEnd
|
_______________________________________________
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