Function: replace()
replace(
this,left,subString,newSubString?):string|Markup
Return the input string with all occurrences of the first argument replaced with the second argument.
Parameters
• this: FilterContext
An object containing a reference to the active render context and any keyword/named arguments.
• left: unknown
Any value. Will be coerced to a string if it's not one already.
• subString: unknown
Any value. Will be coerced to a string if it's not one already.
• newSubString?: unknown
Any value. Will be coerced to a string if it's not one already.
Returns
string | Markup
The input string with all occurrences of the first argument replaced with the second argument.