• 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
Text Item Delimiters length limit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text Item Delimiters length limit?


  • Subject: Text Item Delimiters length limit?
  • From: Matthew Stuckwisch <email@hidden>
  • Date: Wed, 9 Oct 2002 22:27:57 -0500

In working to try to get my Hangman application to search for word definitions after you've figure out the word, I needed to be able to parse through a lovely text file (I have yet to find a Spanish XML-based dictionary site) which even luckier for me is to big to fit into one AppleScript variable

So, to work around this latter problem, I just save it directly from a do shell script to a temp file and read from around the area the text I need will start (very rough, I know, but it should work). My problem is that I want to isolate the HTML code that contains the definitions. If I use a multi-line text item delimiter, it always fails to correctly break apart the string. If use a single line delimiter, it fails after about 30-40 characters in length or so.

Has anyone encountered anything similar? Is there a length limit? Or am I just doing something wrong?


Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa}(esperNET / GamesNet) | [E-mail]{email@hidden}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Text Item Delimiters length limit?
      • From: Paul Skinner <email@hidden>
  • Prev by Date: Deleting messages in Eudora
  • Next by Date: Why does a compiled script's file size shrink when you log out?
  • Previous by thread: Re: Deleting messages in Eudora
  • Next by thread: Re: Text Item Delimiters length limit?
  • Index(es):
    • Date
    • Thread