Created
August 2, 2019 22:06
-
-
Save parzibyte/e8847cec2ca7db870a7a876f3421daed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
int main(){ | |
char cadena[] = "Hola,mundo", | |
delimitador[] = ","; | |
char *token = strtok(cadena, delimitador); | |
if(token != NULL){ | |
printf("Encontramos un token: %s", token); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment