πŸ“Š Ruby
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Checks if the string includes another string

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
117
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate