A

Admin • 828.03K Points
Coach

Q. What does the `include?` method do when used with strings in Ruby?

  • (A) Checks if a substring exists in the string
  • (B) Checks if a character exists in the string
  • (C) Checks if the string includes another string
  • (D) Error
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Ruby
  • Hashtags:

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.

Be the first to start discuss.