$string = "bcde"; $string =~ s/($_)/a$1/; [download]
In reply to Re: add text to a string by Anonymous Monk in thread add text to a string by jeanluca