Right answer is (a) replace()
Best explanation: The replace function works with 3 arguments; the index in the source string, the string to be substituted with, and the string variable. It can be used as “str.replace(a,b, “hello”);” where ‘b’ characters are replaced from index ‘a’ in ‘str’.