Re: tab delimiter problem
Re: tab delimiter problem
- Subject: Re: tab delimiter problem
- From: Shane Stanley <email@hidden>
- Date: Sat, 06 Aug 2011 16:46:44 +1000
- Thread-topic: tab delimiter problem
On 6/8/11 3:53 PM, "Brian Christmas" <email@hidden> wrote:
> Is there something wrong under 4.1 and lion?
I don't think so.
> set theEntries to paragraphs of (read theFiletemp as text)
> set oldDelims to AppleScript's text item delimiters
> set AppleScript's text item delimiters to {tab}
> repeat with anEntry in theEntries
> say count of theEntries
> say count of anEntry
That last line is always going to count the number of characters in anEntry.
Perhaps you mean "count of text items of anEntry".
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden