Given the string:
"Hello there world"
how can I create a URL-encoded string like this:
"Hello%20there%20world"
I would also like to know what to do if the string has other symbols too, like:
"hello there: world, how are you"
What would is the easiest way to do so? I was going to parse and then build some code for that.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…