the
csReplaceAll
of
(
haystack ,
needle ,
noodle )
csReplaceAll
(
haystack ,
needle ,
noodle )
Haystack, needle, and noodle yield string
s.
The csReplaceAll
function returns the string haystack with every occurrence of the string needle replaced with the string noodle.
Needle is case-sensitive. For a case-insensitive version of this function, see replaceAll
. For a regular expression-based version of this function, see regReplaceAll
.