Explanation: s2 in s1 works in the same way as calling the special function contains .
Q. To check whether string s1 contains another string s2, use
β
Correct Answer: (A)
s1. contains (s2)
Explanation by: Mr. Dubey
s2 in s1 works in the same way as calling the special function contains .
Discussion
Question Analytics
474
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
88%
Success Rate