Re: encode url without OSAX
Re: encode url without OSAX
- Subject: Re: encode url without OSAX
- From: Brian <email@hidden>
- Date: Sat, 30 Jun 2001 01:07:49 -0400
on 6/30/01 12:30 AM, Michelle Steiner at email@hidden wrote:
>
On 6/29/01 8:12 PM, Brian <email@hidden> wrote:
>
>
> set x to "the quick brown fox"
>
> set y to every text item of x
>
> repeat with i in y
>
> if i = " " then
>
> set i to " "
>
> end if
>
> end repeat
>
> return y as string
>
>
>
> but the result still shows the <spaces> as <spaces> rather than s.
>
>
>
> Any ideas what I'm missing/doing wrong/don't understand?
>
>
set x to "the quick brown fox"
>
set z to ""
>
set y to every text item of x
>
repeat with i in y
>
set j to i
>
if contents of i is " " then
>
set i to " "
>
end if
>
set z to z & i as text
>
end repeat
>
z
>
>
--Michelle
Thanks to Paul and Michelle. I should be over that hurdle. On to posting
multi-part form data....
brian