in reply to Encoding a URL with regular expressions?

Why not simply $company_name =~ s/ /%20/g;

Hope this helps, -gjb-

Replies are listed 'Best First'.
Re: Re: Encoding a URL with regular expressions?
by Anonymous Monk on Apr 09, 2004 at 13:52 UTC
    Why complicate when you can simplify it, thanks, what was I thinking... it helped.....
    Thank you very much!