• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Multiple text item delimiters question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple text item delimiters question


  • Subject: Multiple text item delimiters question
  • From: Paul Skinner <email@hidden>
  • Date: Thu, 03 Dec 2009 10:36:34 -0500

Hi,

I'm trying to determine how to best parse a large text block into a list of lists using the text item delimiters.

I have a text block where returns delimit each row and vertical bars delimit the items in the row.

If I break the block on returns I'd have to iterate through the rows breaking them on the vertical bars. If I first break the block on the vertical bars then I can't reconstruct the rows using TIDS because it's no longer a text block.

Does anyone know a way to break such a text block up into a list of lists without iteration? Is this possible? Other suggestions that are as fast as TIDS?

Thanks,
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Multiple text item delimiters question
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Finder Comment
  • Next by Date: Re: Multiple text item delimiters question
  • Previous by thread: Re: Finder Comment
  • Next by thread: Re: Multiple text item delimiters question
  • Index(es):
    • Date
    • Thread