strtok函數

函數原型:extern char *strtok(char *string, char *seps) 參數說明:string爲源字符串,seps爲指定的分隔符,是一個分隔字符串的集合。 所在庫名:#include <string.h> 函數功能:將字符串string中所有在seps中出現的分隔符替換掉。 返回說明:返回指向下一個標記串。當沒有標記串時則返回空字符NULL。 其它說明: 當第一次調用
相關文章
相關標籤/搜索