COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
string_util.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef STRIP_H
9 #define STRIP_H
10 
11 #include <string>
12 #include <vector>
13 #include "coExport.h"
14 
16 UTILEXPORT std::string strip(const char *ch);
17 UTILEXPORT std::string replace(const std::string &where, const char *what, const char *with, int times = 1);
18 UTILEXPORT int isIntNumber(const std::string &str);
19 
20 UTILEXPORT std::vector<std::string> split(const std::string &str, char delimiter = ' ');
22 
23 #endif
std::string strip(const std::string &str)
Definition: string_util.cpp:16
GLsizei const GLchar *const * string
Definition: khronos-glext.h:6750
std::string toLower(const std::string &str)
Definition: string_util.cpp:97
std::string replace(const std::string &where, const char *what, const char *with, int times)
Definition: string_util.cpp:54
std::vector< std::string > split(const std::string &str, char delimiter)
Definition: string_util.cpp:85
int isIntNumber(const std::string &str)
Definition: string_util.cpp:71
#define UTILEXPORT
Definition: coExport.h:182