mirror of
https://github.com/Maschell/controller_patcher.git
synced 2024-11-22 12:09:16 +01:00
16 lines
543 B
C++
16 lines
543 B
C++
|
#ifndef _CPSTRING_TOOLS_H_
|
||
|
#define _CPSTRING_TOOLS_H_
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
class CPStringTools{
|
||
|
public:
|
||
|
static bool EndsWith(const std::string& a, const std::string& b);
|
||
|
static std::vector<std::string> StringSplit(const std::string & inValue, const std::string & splitter);
|
||
|
static std::string removeCharFromString(std::string& input,char toBeRemoved);
|
||
|
static const char *byte_to_binary(int x);
|
||
|
static std::string strfmt(const char * format, ...);
|
||
|
};
|
||
|
|
||
|
#endif /* _CPSTRING_TOOLS_H_ */
|