Re: encode url without OSAX
Re: encode url without OSAX
- Subject: Re: encode url without OSAX
- From: Michelle Steiner <email@hidden>
- Date: Fri, 29 Jun 2001 21:30:13 -0700
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
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------