Re: What happened to delimiters?
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.