OK, I need to compare two string's text, even if the strings are not the same length. An example may clear up what I am trying to do.
char str1 = "Meow";
char str2 = "Meow";
char str3 = "Meowing";
Now, regardless of the different sizes, how can I test just the text that is in them, for an EXACT match? From the above sources, if I compared 1 and 2 I want it to be TRUE, and if I compared 1 and 3 or 2 and 3, I'd want it to be FALSE. Is there a C/C++ function that can do this? I have tried things with "strstr" and "strcmp/strcmpi", but none do it properly and the results are invalid settings for my combo boxes. I have even had a combo box set itself to a setting that isn't anywhere in the string, and I can NOT figure out why because there isn't anything remotly close to what is required to set the answer it gave me. Any ideas?