Update: Excuse me, I appear to have left my brain in my other pair of pants. Try this: ( $_ eq "/") {$out.="/";next};
Double update: Replacing space with a + character is a search enginism. %20 is the correct replacement.
____________________
Jeremy
I didn't believe in evil until I dated it.
In reply to Re: Encode a string to be suitable for a URL
by jepri
in thread Encode a string to be suitable for a URL
by da w00t
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |