Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
strcspn
strcspn
Get the length of the starting substring that does not match the mask
Name:
strcspn
Category:
String
Programming Language:
php
One-line Description:
Returns the number of characters found in the string before any part of some specified characters is found.
Related
How to Use the main Function to Complete File Upload? A Complete Process and Example Analysis
8
Similar Functions
localeconv
localeconv
Getdigitalformatinfo
substr
substr
Returnpartofthestrin
substr_count
substr_count
Calculatethenumberof
strpbrk
strpbrk
Findanyoneofasetofch
str_pad
str_pad
Useanotherstringtofi
strcmp
strcmp
Binarysafestringcomp
sscanf
sscanf
Parsesenteredcharact
ucfirst
ucfirst
Setthefirstcharacter
Popular Articles
How to Use the main Function to Complete File Upload? A Complete Process and Example Analysis