• 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
Strange text item delimiter effect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange text item delimiter effect


  • Subject: Strange text item delimiter effect
  • From: Jeffrey Mattox <email@hidden>
  • Date: Tue, 3 Dec 2002 21:47:23 -0600

The last line of code below gives different results depending on whether the value of text item delimiters is "" or return. My AppleScript book clearly says that the TID setting only affects text items, not characters, words or paragraphs.

set outText to ""
set someStuff to (paragraphs 2 through 100 of theInputText)
set AppleScript's text item delimiters to return
set outText to outText & someStuff

Commenting out the setting TID line gives different results (the lines in outTest appear mushed together).

So, how is that line affected by the setting of TID?

I'm using AppleScript Studio 2.0.1 and OS X 10.2.1, if that matters.

Jeff
_______________________________________________
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: Strange text item delimiter effect
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: String combining speed trick no longer works...
  • Next by Date: Re: String combining speed trick no longer works...
  • Previous by thread: Re: String combining speed trick no longer works...
  • Next by thread: Re: Strange text item delimiter effect
  • Index(es):
    • Date
    • Thread