Replace
Replaces occurrences of substring1 in a string with obj, in a specified scope.
The search is case-sensitive. Function returns original string with replacements made
Method Signature
Arguments
Argument
Type
Required
Description
Default
string
string
true
The string to search
substring1
string
true
The substring to search for
obj
any
true
The string to replace substring1 with
scope
string
true
The scope to search in
one
Examples
Related
Last updated