How do i parse tokens from an input string. For example:
char *aString = "Hello world".
I want the output to be:
"Hello" "world"
You are going to want to use strtok
- here is a good example.
Take a look at strtok, part of the standard library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With