PHP » GoLang |
login |
register |
about
|
strcspn(PHP 4, PHP 5, PHP 7) strcspn — Find 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
|
more
Recently updated
more
Most requested
more
Last requests
|