this might be some basic question, but I really can't find an answer: I need to split a string that has two numbers, into two strings in C.
Example:
1->2 into 1 and 2
I'm using strtok, but it takes a series of chars to split, you can't specify a sequence to be the divisor.
I can't use anything outside from ANSI C.
Any help will be appreciated!
How can you flag this as exact duplicate? It's not even close...