lakshmikant has asked for the wisdom of the Perl Monks concerning the following question:
I have a string
I am trying to replace the middle element of the string aa to ee but its not working, please let me know how to do that.$a = aabbccddaaffddnnaa
$a=~ s/^aa$/ee/
Back to
Seekers of Perl Wisdom