2024-11-14 16:04:54 +08:00
|
|
|
#ifndef OFEN_STRING_HEADER
|
|
|
|
#define OFEN_STRING_HEADER
|
|
|
|
|
2024-11-15 13:16:04 +08:00
|
|
|
#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
|