PHP 函数:strcspn()

不同字符串的长度。

语法: int strcspn(string str1, string str2);

返回值: 整数

函数种类: 资料处理

内容说明
本函数用来比较二字符串并计算出不同处的字符串长度。