Replaces the string find
with the string replace
in a StringBuilder up to
limit
times.
If the number of instances of find
in the StringBuilder is less than limit
, all
instances are replaced. If limit
is `0`, all instances of find
are replaced.
string |
a StringBuilder |
find |
the string to find in |
replace |
the string to insert in place of |
limit |
the maximum instances of |
the number of find and replace operations performed. |