• 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: What happened to delimiters?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What happened to delimiters?


  • Subject: Re: What happened to delimiters?
  • From: Nigel Garvey <email@hidden>
  • Date: Fri, 13 Jun 2003 18:08:22 +0100

Deivy Petrescu wrote on Fri, 13 Jun 2003 11:23:06 -0400:

>Thanks Kai, your experience is definitely different than mine.
>I tried using a negative number as a delimiter (dd is the text
>returned from a display dialog) and it does not work.
>It takes the "-" to be the delimiter skipping the number altogether.
>However, setting astid to a negative number works.
>
>So if your file is
>1 1 2 3 4 -200
>3 3 5
>
>using delimiter(s) {"-200" , return} yields:
>{1 1 2 3 4, 200 , 3 3 5}
>
>it does not change if you modify delimiter to {-200, return}

It seems each 'read' delimiter can only be one character long. If you
change "-200" to "200", you get:

{"1 1 ", " 3 4 -", "00", "3 3 5"}

(Tested in 9.2.2)

NG
_______________________________________________
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.

  • Prev by Date: Re: sending text to printer
  • Next by Date: Re: What happened to delimiters?
  • Previous by thread: Re: What happened to delimiters?
  • Next by thread: Re: What happened to delimiters?
  • Index(es):
    • Date
    • Thread