Re: encode url without OSAX
Re: encode url without OSAX
- Subject: Re: encode url without OSAX
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 30 Jun 2001 06:44:29 -0700
On 6/30/01 4:27 AM, "Nigel Garvey" <email@hidden> wrote:
>
'i' is a reference to an item in the thing being looped through, not the
>
value of the item itself. 'Greater than' and 'less than' comparisons work
>
here, but 'equal to' comparisons don't. You'd need to use the
>
dereferencing operator 'contents of':
>
<snip>
I forgot to mention that. Thanks, Nigel. (It wouldn't have worked on its
own, of course.)
>
>
Another solution would be:
>
>
set applescript's text item delimiters to {" "}
>
set y to text items of x
>
set applescript's text item delimiters to {" "}
>
set x to y as string
>
set applescript's text item delimiters to {""}
>
return x
The "best" solution (fastest).
--
Paul Berkowitz