hi, i have this:
but i need to cut text from one character occurance to the end like this:Code:BOOL function(const char *Text) { // func }
so i wanted to make txt = Text and do operations above but i can't =\Code:char txt[32]; if ((ptr = strstr(txt, ":")) != 0) *ptr = '\0';
would appreciate any help ^^