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