fad3r wrote: > Hi everyone, > > I would like to search a string for _ and replace it with a whitespace. > What is the most efficient way of accomplisihing this? > > Is it better to use a module, a regular expression, or is there another > function I should know about it. I have had great success using the substr > function but I do not believe that is the appropriate function. > > The strings will_look_like_this and I want them to will look like this
$str =~ tr/_/ /; -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs