ReplaceAll
BString& ReplaceAll(char replaceThis, char withThis,
BString& ReplaceAll(const char* replaceThis,
name->ReplaceAll('/', '-');
name->ReplaceAll('/', '-');
name->ReplaceAll('\\', '-');
name->ReplaceAll('/', '-');
name->ReplaceAll('/', '-');
word.ReplaceAll("\\", "\\\\");
word.ReplaceAll("#", "\\#");
word.ReplaceAll("\"", "\\\"");
word.ReplaceAll("\'", "\\\'");
stringToEscape.ReplaceAll("\\","\\\\");
stringToEscape.ReplaceAll("\n","\\n");
stringToEscape.ReplaceAll("\t","\\t");
stringToEscape.ReplaceAll("\"","\\\"");
name.ReplaceAll("%attribute", settings.Attribute());
name.ReplaceAll("%regex", settings.Expression());
name.ReplaceAll('/', '_');
name.ReplaceAll(separator.String(), "/");
fileName.ReplaceAll("/", "_SLASH_");
word.ReplaceAll("\\", "\\\\");
word.ReplaceAll("#", "\\#");
word.ReplaceAll("\"", "\\\"");
word.ReplaceAll("\'", "\\\'");
fContent.ReplaceAll("\r\n", "\n");
fContent.ReplaceAll("&&\n", "");
param.ReplaceAll(str, "");
copy.ReplaceAll("\t", " ");
libavifInfo.ReplaceAll("%version%", avifVersion());
librawInfo.ReplaceAll("%version%", LibRaw::version());
segment.ReplaceAll("\n", "\\line");
sourceTxt.ReplaceAll("\n", " \\par ");
libwebpInfo.ReplaceAll("%version%", libwebpVersion);
_message.ReplaceAll("%s", "");
cmd.ReplaceAll("%s", pathString.String());
fDescription.ReplaceAll("%PackageName%", packageName);
result.ReplaceAll("%DeskbarLink%", target);
fTitle.ReplaceAll("%PackageTitle%", packageTitle);
fTitle.ReplaceAll("%PackageTitle%", packageTitle);
fTitle.ReplaceAll("%DeskbarLink%", deskbarLink.Title());
fDescription.ReplaceAll("%PackageName%", packageName);
result.ReplaceAll("%FIRST_PROCESS_DESCRIPTION%", firstProcessDescription);
.ReplaceAll("%PackageName%", fPackage->Name());
fDescription.ReplaceAll("%REPO_NAME%", depotName.String());
message.ReplaceAll("%DiscrepancySeconds%", discrepancySecondsString);
text.ReplaceAll("\n", "\\n");
errorMessage.ReplaceAll("%Error%", strerror(ret));
msg.ReplaceAll("%TestFilePath%", pathDescription);
label.ReplaceAll("%User%", nickname);
message.ReplaceAll("%Nickname%", fModel.Nickname());
voteInfo.ReplaceAll("%Votes%", votes);
ratingContextDescription.ReplaceAll("%hd.timestamp%", createTimestampPresentation);
ratingContextDescription.ReplaceAll("%hd.version%", rating->PackageVersion());
windowTitle.ReplaceAll("%Package%", packageTitle);
message.ReplaceAll("%Nickname%", fUserDetail.Nickname());
result.ReplaceAll("%Message%", message);
result.ReplaceAll("%Property%", property);
message.ReplaceAll("%Nickname%", credentials.Nickname());
msg.ReplaceAll("%MinPasswordLength%", BString() << fPasswordRequirements->MinPasswordLength());
msg.ReplaceAll("%MinPasswordUppercaseChar%",
msg.ReplaceAll("%MinPasswordDigitsChar%",
message.ReplaceAll("%Nickname%", credentials.Nickname());
message.ReplaceAll("%Nickname%", userDetail.Nickname());
versionText.ReplaceAll("%Code%", code);
text.ReplaceAll("%Nickname%", nicknamePresentation);
text.ReplaceAll("%AgreedToTimestamp%", agreedToTimestampPresentation);
dimensionsInfo.ReplaceAll("%width", rep);
dimensionsInfo.ReplaceAll("%height", rep);
filteredText.ReplaceAll('\n', ' ');
filteredText.ReplaceAll('\r', ' ');
preamble.ReplaceAll("%n", name);
preamble.ReplaceAll("%e", address);
preamble.ReplaceAll("%d", date);
preamble.ReplaceAll("\\n", "\n");
text.ReplaceAll(" ", "*"); // query on MAIL:track demands * for space
text.ReplaceAll("\"", "\\\"");
tmp.ReplaceAll("%filename", name);
tmp.ReplaceAll("%filename", name);
error.ReplaceAll("%filename", inRef.name);
error.ReplaceAll("%filename", inRef.name);
message.ReplaceAll("%filename", item->Name());
label.ReplaceAll("%index%", indexString);
label.ReplaceAll("%total%", totalString);
script.ReplaceAll(
script.ReplaceAll(
script.ReplaceAll(
script.ReplaceAll(
script.ReplaceAll(
script.ReplaceAll(
title.ReplaceAll("%name%", name);
name.ReplaceAll("%name%", baseName);
name.ReplaceAll("%size%", sizeString);
error.ReplaceAll("\n", "\n*** ");
error.ReplaceAll("\n", "\n*** ");
error.ReplaceAll("\n", "\n*** ");
alertText.ReplaceAll("%file%", name);
title.ReplaceAll("%searchtext%", fOldPattern.String());
title.ReplaceAll("%appname%", B_TRANSLATE_NOCOLLECT(kAppName));
title.ReplaceAll("%path%", path.Path());
fileName.ReplaceAll('/', '-');
url.ReplaceAll("%s", "");
engine.ReplaceAll("%s", _EncodeURIComponent(searchQuery));
filteredText.ReplaceAll('\n', ' ');
filteredText.ReplaceAll('\r', ' ');
fileName.ReplaceAll('/', '-');
fullCommand.ReplaceAll(" ", "+");
FileName.ReplaceAll('/','_');
FileName.ReplaceAll('\'','_');
FileName.ReplaceAll('"','_');
FileName.ReplaceAll('!','_');
FileName.ReplaceAll('<','_');
FileName.ReplaceAll('>','_');
fShortUsage.ReplaceAll("%command%", fName);
fLongUsage.ReplaceAll("%command%", fName);
fShortUsage.ReplaceAll("%program%", programName);
fLongUsage.ReplaceAll("%program%", programName);
error.ReplaceAll("\n", "\n*** ");
error.ReplaceAll("\n", "\n*** ");
usageText.ReplaceAll("%s", kProgramName);
text.ReplaceAll("%years%", copyrightYears.String());
text.ReplaceAll("%holder%", copyrightHolder);
filteredText.ReplaceAll('\n', ' ');
filteredText.ReplaceAll('\r', ' ');
name.ReplaceAll('/', '_');
name.ReplaceAll('\'', '_');
name.ReplaceAll('"', '_');
name.ReplaceAll('!', '_');
name.ReplaceAll('<', '_');
name.ReplaceAll('>', '_');
text.ReplaceAll("\n",string.String());
modified.ReplaceAll("\n","\r\n");
name.ReplaceAll('/','_');
name.ReplaceAll('\'','_');
name.ReplaceAll('"','_');
name.ReplaceAll('!','_');
name.ReplaceAll('<','_');
name.ReplaceAll('>','_');
str.ReplaceAll("&", "&");
str.ReplaceAll("<", "<");
str.ReplaceAll(">", ">");
question.ReplaceAll("%size", string_for_size(totalSize, buffer, sizeof(buffer)));
message.ReplaceAll("%path1%", fPath1)
.ReplaceAll("%path2%", fPath2)
.ReplaceAll("%error%", strerror(fSystemError))
.ReplaceAll("%exitCode%", BString() << fExitCode);
message.ReplaceAll("%package%", fErrorPackage)
.ReplaceAll("%path1%", fPath1)
.ReplaceAll("%path2%", fPath2)
.ReplaceAll("%string1%", fString1)
.ReplaceAll("%string2%", fString2)
.ReplaceAll("%error%", strerror(fSystemError));
title.ReplaceAll("%url", fRepoConfig.BaseURL());
title.ReplaceAll("%repositoryName", fRepoConfig.Name());
title.ReplaceAll("%url", fRepoConfig.BaseURL());
title.ReplaceAll("%repositoryName", fRepoConfig.Name());
.ReplaceAll("%source%",
.ReplaceAll("%target%",
.ReplaceAll("%dependency%",
.ReplaceAll("%source%",
.ReplaceAll("%target%",
.ReplaceAll("%selection%", fSelection)
.ReplaceAll("%sourceVendor%",
.ReplaceAll("%targetVendor%",
fValue.ReplaceAll(' ', '*');
mountPointPath.ReplaceAll('/', '-');
return ReplaceAll(replaceThis, withThis,
replaceMsg.ReplaceAll("%verb", verb);
replaceMsg.ReplaceAll("%name", name);
fDescStr.ReplaceAll('\n', ' ');
fDescStr.ReplaceAll('\t', ' ');
authorsText.ReplaceAll(", ", "\n\t");
string.ReplaceAll("%name", ref.name);
text.ReplaceAll("%name", name);
text.ReplaceAll("%error", strerror(status));
path.ReplaceAll("$HOME", home);
path.ReplaceAll("${HOME}", home);
textBuffer.ReplaceAll("\t", " ");
"don't change '%source%")).ReplaceAll(
str.ReplaceAll('t', 'i');
str.ReplaceAll('x', 'b');
str.ReplaceAll('t', 't');
str.ReplaceAll('t', 'i', 2);
str.ReplaceAll("ab", "abc");
str.ReplaceAll("abc", "abc");
str.ReplaceAll("abc", NULL);
str.ReplaceAll("tex", "the");
str.ReplaceAll("x", "y");
str.ReplaceAll("xx", "y");
name->ReplaceAll('/', '-');
stringToEscape.ReplaceAll("\\", "\\\\");
stringToEscape.ReplaceAll("\n", "\\n");
stringToEscape.ReplaceAll("\t", "\\t");
stringToEscape.ReplaceAll("\"", "\\\"");