STRSTARTSWITH_NOCASE(3)

NAME
strstartswith_nocase - 判断str是否以prefix开头；不区分大小写

SYNOPSIS

#include <cstring-extension.h>

  Functions

  static int strstartswith_nocase (const char * str, const char * prefix) [inline], [static]

判断str是否以prefix开头；不区分大小写

Parameters
    str 原字符串
    prefix 需要匹配的字符串前缀

Returns
    int 若str以prefix开头，则返回0；否则返回1

Detailed Description

接口的主要功能是判断str是否以prefix开头；不区分大小写

CONFORMING TO
These functions are as per the withdrawn POSIX.1e draft specification. The following functions are Linux extensions: strstrip(), strstripspace(), strstripblank(), strskipspace(), strskipblank(), str2upper(), str2lower(), strfirstof(), strlastof(), strstartswith(), strendwith(), strendwith_nocase(), strcounts() and strsplit().

SEE ALSO
strstrip(3), strstripspace(3), strstripblank(3), strskipspace(3), strskipblank(3), str2upper(3), str2lower(3), strfirstof(3), strlastof(3), strstartswith(3), strendwith(3), strendwith_nocase(3), strcounts(3) and strsplit(3).

Author

Generated automatically by Doxygen for cstring-extension.h from the source code.