Hi Everyone,
How do I replace the "'" in a string with the escape character "\'" in Perl?
or in general: how do I replace a substring with another substring? In PHP: I would use the function str_replace. Is there any function in Perl similar to str_replace?
Thanks in advance
Cheers
How do I replace the "'" in a string with the escape character "\'" in Perl?
or in general: how do I replace a substring with another substring? In PHP: I would use the function str_replace. Is there any function in Perl similar to str_replace?
Thanks in advance
Cheers