Skip to content

@serenity-is/corelib / replaceAll

Function: replaceAll()

replaceAll(str, find, replace): string

Replaces all occurrences of the search string with the replacement string.

Parameters

str

string

String to replace.

find

string

String to find.

replace

string

String to replace with.

Returns

string

Replaced string.

Defined in

src/q/strings-compat.ts:113