MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Shane Stanley <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 1 Feb 2006 08:13:03 +1100
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On 1/2/06 8:07 AM, "Chuck Pelto" <[log in to unmask]> wrote:

> I used this script two years ago to process data.
> 
> I'm trying to use it again and NOW wherever I attempt to pull a
> string from out of another string using...
> 
> set thisString to (characters x through y of thatString) as string
> 
> thisString has got a tab showing up after every character in the
> extracted string.
> 
> What's going on?

You've set your text item delimiters to a tab. But you shouldn't be using
that code in the first place; use:

set thisString to text x through y of thatString

-- 
Shane Stanley <[log in to unmask]>

ATOM RSS1 RSS2