Re: How do I delete the 1st three characters from a variable
Re: How do I delete the 1st three characters from a variable
- Subject: Re: How do I delete the 1st three characters from a variable
- From: Michelle Steiner <email@hidden>
- Date: Tue, 3 Jan 2006 20:37:29 -0700
On Jan 3, 2006, at 8:09 PM, kai wrote:
Which, since we seem to be on a roll here, could also be applied to:
text from word 2 to word -2
text from ninth paragraph to end
text from the beginning to the fifth text item
here is an interesting variation that doesn't work:
text from the ninth word to the seventh paragraph
it evaluates the seventh paragraph before trying to extract the
text. Here is the log entry:
tell current application
get text from word 9 to "www.tempetoyota.com "
"Can't make text from word 9 to \"www.tempetoyota.com \" into type
reference."
This does work:
tell foo to get text from the ninth word to the seventh paragraph
So does this:
text from the ninth word to paragraph 7
--
You can not change the world without perforce changing yourself.
_______________________________________________
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