/* zero out the unwanted characters */
for (i=18; i<SIZE; i++) {
croppedString[i] = '\0';
}
...
Type: Posts; User: Salem
/* zero out the unwanted characters */
for (i=18; i<SIZE; i++) {
croppedString[i] = '\0';
}
...
So what did you try with strtok()?
Post your attempt, and then we can tell you what you did wrong (so you learn).
> 2013-123-00:12:11 xxxxxxxxxxxxxxxxx
If you use " -" as the delimiter, then you...