#include <cstring> size_t strspn( const char *str1, const char *str2 );
strspn() 函式返回 str1 中第一個不匹配 str2 中任何字元的字元的索引。