strcspn
Find length of initial segment not matching mask
&reftitle.description;
intstrcspn
stringstr1
stringstr2
intstart
intlength
Returns the length of the initial segment of
str1 which does not
contain any of the characters in str2.
&reftitle.parameters;
str1
The first string.
str2
The second string.
start
The start position of the string to examine.
length
The length of the string to examine.
&reftitle.returnvalues;
Returns the length of the segment as an integer.
&reftitle.changelog;
&Version;
&Description;
4.3.0
The start and length
were added
&reftitle.examples;
strcspn example
]]>
&example.outputs;
&reftitle.notes;
¬e.bin-safe;
&reftitle.seealso;
strspn