|about | help | code help+videos | done | prefs|
Given a string as input, return a string where for every * in the input the character before and after are replaced with * as well.The * cannot be the first or last character in the String.
censorIt("ab*cd") → "a***d"
censorIt("ab***cd") → "a*****d"
censorIt("ab*c") → "a***"
...Save, Compile, Run (ctrl-enter)
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy