11#ifndef TLX_STRING_INDEX_OF_HEADER
12#define TLX_STRING_INDEX_OF_HEADER
26size_t index_of(
const std::vector<std::string>& list,
const char* str);
32size_t index_of(
const std::vector<std::string>& list,
const std::string& str);
38size_t index_of_icase(
const std::vector<std::string>& list,
const char* str);
45index_of_icase(
const std::vector<std::string>& list,
const std::string& str);
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.