Adding replace all function for strings.