ofen/include/of_str.h

20 lines
389 B
C
Raw Normal View History

2024-11-14 16:04:54 +08:00
#ifndef OFEN_STRING_HEADER
#define OFEN_STRING_HEADER
#include "of_def.hpp"
2024-12-12 22:42:44 +08:00
#include <vector>
2024-11-14 16:04:54 +08:00
namespace ofen {
class COfStr
{
public:
COfStr();
~COfStr();
2024-12-12 22:42:44 +08:00
public:
static ofString replace(const ofString& str, const ofString& from, const ofString& to);
static std::vector<ofString> split(const ofString& input, const ofString& delimiter);
2024-11-14 16:04:54 +08:00
};
}; // namespace ofen
#endif