Is there a C library function that will return the index of a character in a string?
So far, all I\'ve found are functions like strstr that will return the found cha
If you are not totally tied to pure C and can use string.h there is strchr() See here