Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: substitute with space

by Zaxo (Archbishop)
on Sep 10, 2007 at 04:37 UTC ( #637988=note: print w/ replies, xml ) Need Help??


in reply to substitute with space

Another way is to transliterate;

$keyword =~ tr/+/ /;
That's quicker and a little simpler, since the regex engine isn't invoked.

After Compline,
Zaxo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://637988]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2016-06-25 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.