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

Function censored_str

recipes/JavaScript/578517_Music_player/recipe-578517.js:533–548  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

531
532
533function censored_str(s)
534{
535 s=replaceAll(s,"goddamn","g******");
536 s=replaceAll(s,"bitch","b****");
537 s=replaceAll(s,"fuck","f***");
538 s=replaceAll(s,"shit","s***");
539 s=replaceAll(s,"damn","d***");
540
541 s=replaceAll(s,"Goddamn","g******");
542 s=replaceAll(s,"Bitch","b****");
543 s=replaceAll(s,"Fuck","f***");
544 s=replaceAll(s,"Shit","s***");
545 s=replaceAll(s,"Damn","d***");
546
547 return s;
548}
549
550
551// If the filename is all lowercase except for one letter, then that is the artist.

Callers 3

display_song_strFunction · 0.85
do_searchFunction · 0.85

Calls 1

replaceAllFunction · 0.85

Tested by

no test coverage detected