fad3r <> wrote:

: I would like to search a string for _ and replace it with a
: whitespace. What is the most efficient way of accomplisihing
: this? 

    use transliterate()

 my $phrase = 'will_look_like_this';

 $phrase =~ tr/_/ /;

 print $phrase;


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328



_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to