|
strcspnFind length of initial segment not matching mask Description
int strcspn
( string
$str1
, string $str2
[, int $start
[, int $length
]] )
Returns the length of the initial segment of
Parameters
Return ValuesReturns the length of the segment as an integer. Changelog
ExamplesExample #1 strcspn example
<?php The above example will output: int(0) int(0) int(2) int(2) Notes
See Also
|