is there a function that searches a string until another string is found in it, and then returns the position of that?
Example:
If not, then has anybody written a function like that that I can use?Code:... char string1[] "Hello, how are you?"; char string2[] "are"; int i = search(string1, string2); ..