Skip to main content
Participant
November 26, 2007
Question

urlencode or equiv

  • November 26, 2007
  • 1 reply
  • 549 views
I believe I am working with Actionscript 2, in Flash Professional 8
I need to get a string from the user interface and do some sanity checks on it, and substitute out a few characters, exaclty as in the common function urlencode() in other web languages.

I saw string.split(), but the substitutions are tedious.. Any better way to do this common task ?
thanks
This topic has been closed for replies.

1 reply

Inspiring
November 26, 2007
You're probably looking for the escape(string) function I suspect.