Q48
Which method is used to check if a string contains a specific substring in Ruby?
A.
.contains
B.
.exist
C.
.include?
AnswerD.
.hasSubstring
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board