Given a sentence, a word, and a replacement word, replace the first instance of the word in the sentence with the replacement word, case insensitive.
// input:
const s = 'The gecko climbs on the ceiling', w = 'CEILING', r = 'wall'
// output:
'The gecko climbs on the wall'
(Ctrl + ')
Loading...
/* output */
Next(Ctrl + y)