added script to compare replacement methods for string