相關函數 index, memchr, rindex, strpbrk, strsep, strspn, strstr 頭文件 #include string.h 定義函數 char * strtok(char *s, const char *delim); 函數說明 strtok()用來將字元串分割成一個個片段. 參數s 指向慾分割的字元串, 參數delim 則為分割字元串,
see.xidian.edu.cn