Is there a way to search a pattern that are C- standard key characters in a string array using strstr function?. e.g :- I want to search for this pattern ),(
The code lines below works for any patterns like "++++" or "****" in line 100 but not for "),(". Any ideas would help.
Thank you..
Code:100:if(((strstr(test_buffer,"),("))!= NULL)!= except) 101:{ 102: parsed_array[i] = (char *) malloc(sizeof(char) * (strlen(test_buffer) + 1)); 103: strcpy(parsed_array[i],test_buffer); 104: i++; 105:}