CBSE Class 11 Computer Science Question 17 of 91

String Manipulation — Question 7

Back to all questions
7
Question

Question 7

Which of the following functions will return the string with every 'P' replaced with a 'z'?

  1. find()
  2. index()
  3. replace() ✓
  4. split()
Answer