Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 6 0/4 pts Say we have two strings: string1 = .com string2 = www.google.com And we want to see whether string1 is a substring
Question 6 0/4 pts Say we have two strings: string1 = ".com" string2 = "www.google.com" And we want to see whether string1 is a substring of string2. Which of the following could we use to determine that? O string1 in string 2 O string1 is string2 O string 1 == string2 is string1 a substring of string2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started