M

Mr. Dubey • 100.28K Points
Coach

Q. What is the method used to check if a string contains a specific substring in Ruby?

  • (A) .contains
  • (B) .exist
  • (C) .include?
  • (D) .hasSubstring
  • Correct Answer - Option(C)
  • Views: 77
  • Filed under category Ruby

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics