Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: URGTENT: Need to remove undescore characters

by Abigail-II (Bishop)
on Jun 13, 2002 at 12:13 UTC ( #174156=note: print w/replies, xml ) Need Help??


in reply to Replacing underscore characters with whitespace

Is there a way I can replace the underscore chars with white spaces
y -_- -

Replies are listed 'Best First'.
Re: Re: URGTENT: Need to remove undescore characters
by ariels (Curate) on Jun 13, 2002 at 12:40 UTC
    This code may work, but not reliably -- it depends on your background colour. For comparison,
    y -_- -
    will never work (on most browsers), as it will tend to generate pinkspace. Of course, Unicode probably has 4 different solutions for you (although 2 will not work for Japanese and the other 2 fail for Arabic). Perl supports Unicode, so you should have no problems in that regard.

    I suspect, however, that this is an inherent problem; Perl cannot help you here.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://174156]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2016-12-09 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (157 votes). Check out past polls.