11 #ifndef TLX_STRING_STARTS_WITH_HEADER 12 #define TLX_STRING_STARTS_WITH_HEADER 26 bool starts_with(
const char* str,
const char* match);
31 bool starts_with(
const char* str,
const std::string& match);
36 bool starts_with(
const std::string& str,
const char* match);
41 bool starts_with(
const std::string& str,
const std::string& match);
75 #endif // !TLX_STRING_STARTS_WITH_HEADER bool starts_with(const char *str, const char *match)
Checks if the given match string is located at the start of this string.
bool starts_with_icase(const char *str, const char *match)
Checks if the given match string is located at the start of this string.