Return To CS 110 Home

Colour Theme   Font Size Options
 
   
   
   
Exercise 4

String Exercise 2 (To be marked):
Something Completely Different!

Now it's your turn to write a program using the .length(), .find() and .substr() string functions. You should understand String Exercise 1 before you try this exercise.

Use the file ex4_stringB.cpp in the replit team project to write a program. Follow the steps below:

When you are done:

IMPORTANT: You should use the position and length of srch to complete the sub-string instructions in your program.