11 #ifndef TLX_STRING_INDEX_OF_HEADER 12 #define TLX_STRING_INDEX_OF_HEADER 26 size_t index_of(
const std::vector<std::string>& list,
const char* str);
32 size_t index_of(
const std::vector<std::string>& list,
const std::string& str);
38 size_t index_of_icase(
const std::vector<std::string>& list,
const char* str);
45 index_of_icase(
const std::vector<std::string>& list,
const std::string& str);
51 #endif // !TLX_STRING_INDEX_OF_HEADER size_t index_of_icase(const std::vector< std::string > &list, const char *str)
Attempts to find str in the list and return the index using case-insensitive comparisons.
size_t index_of(const std::vector< std::string > &list, const char *str)
Attempts to find str in the list and return the index.