Concept Framework 2.2 documentation Contents | Index

standard.C.string.strcspn

Name Version Deprecated
strcspn version 1.0 no

Prototype:
number strcspn(string string, string strCharSet)

Parameters:
string      Null-terminated searched string
strCharSet      Null-terminated character set

Description:
Scans a string for the initial segment not containing any subset of a given set of characters.

Returns:
returns an integer value specifying the length of the initial segment of string that consists entirely of characters not in strCharSet. If string begins with a character that is in strCharSet, the function returns 0. No return value is reserved to indicate an error.

Documented by Eduard Suica, generation time: Sun Jan 27 18:15:16 2013 GMT(c)2013 Devronium Applications