Concept Framework 1.0 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: Thu Oct 15 20:02:05 2009 GMT(c)2009 RadGs Software