Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Replacing multiple spaces into one character?

by r.joseph (Hermit)
on Oct 09, 2001 at 07:02 UTC ( [id://117623] : perlquestion . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $str =~ s/\s+/_/ig;