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 18:47:40 -0700
On Jan 3, 2006, at 6:34 PM, kai wrote:
What is the matter with using "text" instead of "characters" and
coercing to a string?
Not much - if you really want a string, Michelle. The point we were
really making is that, since we're already dealing with text, it's
generally preferable (for reasons of efficiency and robustness) to
use <text x thru y> rather than <characters x thru y as string>.
But just about everyone was using "characters" and then casting to
text rather than using "text" directly.
characters 4 through end as text (or string)
"" & characters 4 through end
Instead of
text 4 through end
And is there really any difference, other than writing style, between
using through end and through -1?
--
"Never ask a man what computer he uses. If it's a Mac, he'll tell
you. If it's not, why embarrass him?" --Tom Clancy
_______________________________________________
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