How can i split a string into 2 strings ?
Example Char[100]= "Xo = 100K"
i want to split it to 2 string and save them into > Xo & 100K.
I could only save the first string, but i couldn't save the other one.
My code :-
while (ch[i]!= '=')
i++;
strncpy(var,ch,i);