String Exercise:

Write a program to practice how to use length(), find() and substr() functions. You should understand the first exercise before you try this one.

Follow the steps below:

TIPS: Use the position and length of srch to complete the sub-string instructions in your program.

Copyright: Department of Computer Science, University of Regina.