unescape / escape characters - ??? (Posted by lloydhass)
I have just been playing around with unescape/escape characters and cannot find a way to get the values for letters. In the example below, how could create a script that returns the escape value of "H"? (which happens to be %48)
var output = escape('Hello World!');
output = Hello%20World%21
----------
[email protected]
http://go.to/hass
John Pollock posted this at 17:45 — 5th November 1999.
He has: 628 posts
Joined: Mar 1999
Are you trying to make it so that the code would send back the escape for any character entered, or just the "H"? This looks like alot of substring stuff but I'm not sure if there is an easy way I am just missing..
I'll let you know if I find out more.
Java Script: A Beginner's Guide
Page Resource
Anonymous posted this at 17:04 — 6th November 1999.
They have: 5,633 posts
Joined: Jan 1970
I would like the escape values returned for all characters within the string. I have searched around for an answer to this but no one seems to know anything about this topic.
----------
[email protected]
http://go.to/hass - http://connect.to/wpd
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.