Lodash.replace

Replaces matches for pattern in string with replacement.

Note: This method is based on String#replace.

struct Lodash
nothrow @trusted @safe ref
replace
(
T
U
)
(
auto ref T pattern
,
auto ref U replacement
)

Return Value

Type: auto ref

- Lodash chained on (string): the modified string.

Meta