Harry Jackson wrote: > > > -----Original Message----- > > From: Ned Cunningham [mailto:[EMAIL PROTECTED]] > T Nobel > > > > I am trying to replace the spaces with a single space > > > > My code so snippet is: > > > > $cuname = $data[53]; > > > > $newcuname = /" "+/" "/$cuname; > > This is probably a little but not much closer to what you want. > > $cuname =~ s/\s+/\s/g;
Why would you want to replace multiple whitespace characters with the letter s? :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]