On 14/11/2012, at 8:15 AM, Bill Steele <[log in to unmask]> wrote:

> set thePieces to splittext bigFile using "whatever"

Are you doing a literal split or a regex split with the splittext command? if the former, why not use text item delimiters instead? If the latter, there was a problem with it reported over on macscripter.net recently.

But perhaps the more important question is how many items thePieces contains. If it's many thousands, you're going to want to break the job into smaller parts.

-- 
Shane Stanley <[log in to unmask]>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>