MCPcopy Create free account
hub / github.com/ActiveState/code / replaceAll

Function replaceAll

recipes/JavaScript/578517_Music_player/recipe-578517.js:133–136  ·  view source on GitHub ↗
(txt, s_replace, with_this)

Source from the content-addressed store, hash-verified

131}
132
133function replaceAll(txt, s_replace, with_this)
134{
135 return txt.replace(new RegExp(s_replace, 'g'),with_this);
136}
137
138function SetCookie(name,value)
139{

Callers 4

censored_strFunction · 0.85
replace_all_upperFunction · 0.85
do_artist_searchFunction · 0.85
do_youtubeFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected