Question: 3. Given that the string variables str1 and str2 contain you ought to start with logic and ou Respectively, what is the result of each

3. Given that the string variables str1 and str2 contain you ought to start with logic

and

ou

Respectively, what is the result of each of the following expression?

a. str1. length ()

b. str1. Find (str2)

c. str1.substr (4,25)

d. str1.substr (4,25). find (str2)

e. str1.substr (4,25). find (logic), 3)

e. str1 substr. (24,5). find (str2. Substr (0,1))

g. str1. find (end)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!