(PHP 3>= 3.0.3, PHP 4 >= 4.0.0)
int strcspn (string str1, string str2)
int strcspn
str1においてstr2の文字が どれも含まれてない最初のセグメントの長さを返します。
strspn() も参照下さい。