Replace « String « Perl






1.Replace first 5 characters of $string with 'bye' and assign substring that was replced to $substring
2.Replace function based on substr function
3.Replace function based on the length