Hello, I just have a question about how to find a substring when one has only a string and coordinates for where the data will be? For instance, a string "why,hello", and data that is at the coordinates 4 to 8.
strstr, I obviously cannot use directly, because I have no idea what the string I am searching for is named.
I could use a loop that begins at 4 (just as an example; it would be a variable) and goes until 8, recording each character in a new character array. However, I have previously done this often only to find out that strcat(), memcpy(), or some other predefined function was already made and could probably work better than my code. :o