Hmm, good suggestion!
I've got it to work with this piece of code code:
But i already ran into the next problem which i overlooked. Is it also possible to remove the quote prior to the one i found? Is there a way to reverse-search (and destroy! ) the previous quote, when i find a double quote like above?
ptr = strstr(my_input_string,"\"\"");
if(ptr != 0)
len = strlen(ptr+2);
// the string exists
// now null-terminate the string
ptr[len] = 0;
I mean the bold char:
log L 03/15/2006 - 19:05:51: Rcon: "rcon 1033369585 "password" kick "blabla bla bla" from "220.127.116.11:1234"