Replaces all occurrences of a search phase in a string with a replacement phrase.
.
print "1:"; Replace("aaa", "a", "bb")
print "2:"; Replace("aaa", "aa", "bb")
print "3:"; Replace("", "a", "b")
print "4:"; Replace("aaa", "a", "aa")
print "5:"; Replace("aaaa", "aa", "a")