On 2011-12-17 09:20, T D, Vishnu wrote:

I am trying to convert the string abc.def.ghi.amm to abcdefghiamm

    $string =~ s/\.+//g


using split and concatenation.

    join "", split /\.+/, $string

--
Ruud


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to