|
PHP5中文手册
strspn(PHP 4, PHP 5) strspn — Find length of initial segment matching mask 说明
int strspn
( string $str1
, string $str2
[, int $start
[, int $length
]] )
Finds the length of the initial segment matching mask. The line of code:
<?php 参数
返回值Returns the length of the initial segment of str1 which consists entirely of characters in str2 . 更新日志
范例
Example#1 strspn() example
<?php 注释
|