Concept Framework 1.0 documentation Contents | Index

standard.C.string.strspn

Name Version Deprecated
strspn version 1.0 no

Prototype:
string strspn(string string, string strCharSet)

Parameters:
string      Null-terminated string to search
strCharSet      Null-terminated character set

Description:
Find the first substring. The strspn function returns the index of the first character in string that does not belong to the set of characters in strCharSet. The search does not include terminating null characters.

Returns:
strspn returns an integer value specifying the length of the substring in string that consists entirely of characters in strCharSet. If string begins with a character not 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