guys how to slpit a date string ie....30/jully/2001
i want the following output
30
jully 2001
please help...
guys how to slpit a date string ie....30/jully/2001
i want the following output
30
jully 2001
please help...
We only give homework help to those who show effort.
Look up the strtok function.
guys how to slpit a date string ie....30/jully/2001
char
array (from the user or a file or wherever).Have a go at doing something like that and then see how you get on. If you have further problems, then post the code that you've written and explain what errors you have in a bit more detail.
we can use spit() which can be used to split a char array using a delimiter
we can use spit()
In what library? That's not in the Standard C library for sure.
sorry
then its better to use strtok as said by narue
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.