Mark As Completed Discussion

Are you sure you're getting this? Click the correct answer from the options.

Which of the following string functions in C++ can be used to find the first occurrence of a substring within a string?

Click the option that best answers the question.

  • length()
  • find()
  • insert()
  • erase()