Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

case_starts - Man Page

compare prefixes of strings case-insensitively

Syntax

#include <case.h>

int case_starts(const char* a,const char* b);

Description

case_starts returns 1 if b is a prefix of a, 0 otherwise. For this comparison, 'A' == 'a', 'B' == 'b', ..., 'Z' == 'z'.

See Also

str_start(3)