|
strcspnFind length of initial segment not matching mask Description
int strcspn
( string
$subject
, string $mask
[, int $start
[, int $length
]] )
Returns the length of the initial segment of
If Parameters
Return Values
Returns the length of the initial segment of
ExamplesExample #1 strcspn example
<?php The above example will output: int(0) int(0) int(2) int(2) int(5) int(4) Notes
See Also
|