Hi, I'm trying to teach myself C and am stuck on something.
I want to extract a string from input by the user
For example if the user enters 12345"string"8765 I want to be able to extract the string from this input.
I am aware that to receive the string input is
scanf("%s", data)
but how do I ignore the rest?
If anyone could help me with this I would really appreciate it.
Thanks