• 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
Re: Why save text item delimiters? Philosophical question....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why save text item delimiters? Philosophical question....


  • Subject: Re: Why save text item delimiters? Philosophical question....
  • From: John W Baxter <email@hidden>
  • Date: Mon, 16 Jun 2003 22:37:12 -0700
  • Envelope-to: email@hidden

At 8:38 +0100 6/16/2003, John Delacour wrote:
>If, as David asks, you never use text item delimiters without setting
>the value first (and he might, and should, have added
>_IMMEDIATELY_before_using_them_), then it makes no difference.
>
>
>set my text item delimiters to ""
>doThis()
>text items of "two words" is words of "two words"
>on doThis()
> set my text item delimiters to space
>end doThis
>--> true
>
>doThis()
>set my text item delimiters to "" -- and then immeditately...
>text items of "two words" is words of "two words"
>on doThis()
> set my text item delimiters to space
>end doThis
>--> false

But do we all remember that
{"a", "B", "c"} as string
is a use of the text item delimiters.

Try
set text item delimiters to {"Ken Griffey, Jr"}
{"a", "B", "c"} as string

(Yes...the set immediately before using folks will *eventually* remember. ;-))

--John


--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
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.

References: 
 >Re: Why save text item delimiters? Philosophical question.... (From: Michelle Steiner <email@hidden>)
 >Re: Why save text item delimiters? Philosophical question.... (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Why save text item delimiters? Philosophical question....
  • Next by Date: AppleScript Timed Events
  • Previous by thread: Re: Why save text item delimiters? Philosophical question....
  • Next by thread: Re: Why save text item delimiters? Philosophical question....
  • Index(es):
    • Date
    • Thread