92
rated 0 times
[
94]
[
2]
/ answers: 1 / hits: 18907
/ 14 Years ago, thu, march 10, 2011, 12:00:00
The replace
function returns the new string with the replaces, but if there weren't any words to replace, then the original string is returned. Is there a way to know whether it actually replaced anything apart from comparing the result with the original string?
More From » regex