找出某字串落在另一字串遮罩的数目。
语法: int strspn(string str1, string str2);
传回值: 整数
函式种类: 资料处理
本函式将 str2 字串当遮罩,可用来计算 str1 字串中有几个字元落在 str2 遮罩中。
strcspn()