Re: how to convert *space* to
Re: how to convert *space* to
- Subject: Re: how to convert *space* to
- From: Deivy Marck Petrescu <email@hidden>
- Date: Sun, 1 Nov 2009 10:06:21 -0500
On Nov 1, 2009, at 03:51, CJ Kelley wrote:
Hi all,
I am writing an applescript application that will send an http
request to the Alice bot. My question is, how do i convert a space
to ?
If i send a message like this:
"Hello Alice"
I get "400 - Bad Request"
Thanks in advance!
--CJ
--
An AS strict solution
<script>
encode("Hello Alice", space, " ")
on encode(x, y, z)
tid(y)
set x to text items of x
tid(z)
return x as string
end encode
on tid(x)
set AppleScript's text item delimiters to x
end tid
</script>
-->"Hello Alice"
Deivy Petrescu
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden