]> git.lyx.org Git - features.git/blobdiff - src/support/lstrings.h
Make MathBigInset working
[features.git] / src / support / lstrings.h
index 995d96b0809c15c815931fb3a2b24d5b11e24425..0ef0806edd97c22c2d0289457d6425b24864b1c9 100644 (file)
@@ -176,6 +176,10 @@ std::vector<std::string> const getVectorFromString(std::string const & str,
 std::string const getStringFromVector(std::vector<std::string> const & vec,
                                 std::string const & delim = std::string(","));
 
+/// Search \p search_token in \p str and return the position if it is
+/// found, else -1. The last item in \p str must be "".
+int findToken(char const * const str[], std::string const & search_token);
+
 
 #ifdef I_AM_NOT_AFRAID_OF_HEADER_LIBRARIES