Multiple choice technology platforms and products

string_replace("I"+"Love"+"Cricket","+","*")

  1. "I"+"Love"+"Cricket"

  2. ILoveCricket

  3. "I""Love""Cricket"

  4. Error

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

string_replace("I"+"Love"+"Cricket","+","*") first concatenates with + to get "ILoveCricket", then replaces + with * in the string. Since there are no + characters in the concatenated result, it returns "ILoveCricket" unchanged.