Hi,
I use RealView MDK-ARM 3.15b. When I call tge strstr function to search a substring in a larger string it always return NULL. This is my code
char* ptr; char str1[80] ; char str2[80]; strcpy(str1,"This is a large string"); strcpy(str2,"is"); ptr = strstr(str1,str2);
ptr is NULL.
Any idea ??
Kind regards Luc
If you want to get help from Keil support, you'd be advised to go to the support page at:
http://www.keil.com/support/
If it were me, I would want to provide them with as much evidence of the problem as possible and would be very tempted to trace into the strstr function to find out what is really happening.