i have this program i have been working on and im at the point wher i dont know what string compare or type of string to use or compose it into my code.
-----------------------------------------------------------------------------------
the program should prompt the user to input two character strings(example the imput may say "goodbye" and "bye")...

the program should have a function that searches the first character string for the second string and return the location of the string....

in the example if the user enters "goodbye" and "bye" the return value from the program would be 5.
-----------------------------------------------------------------------------------
i cant get the 5 and im not using the right string pattern in my code if you could help me out in any way i would appreciate it...


thanks