We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Home > @microsoft/sp-core-library > Text_2 > replaceAll
Returns the input string, with all instances of searchValue replaced by replaceValue.
searchValue
replaceValue
Signature:
static replaceAll(input: string, searchValue: string, replaceValue: string): string;
Returns:
string
Note that JavaScript's string.replace() only replaces the first match, unless a global RegExp is provided.
string.replace()
Home