Files
cocos4/native/cocos/renderer/core/util/StringUtil.h
T
2020-06-16 18:10:41 +08:00

19 lines
531 B
C++
Executable File

#ifndef CC_CORE_KERNEL_UTIL_STRING_UTIL_H_
#define CC_CORE_KERNEL_UTIL_STRING_UTIL_H_
namespace cc {
namespace gfx {
class CC_CORE_API StringUtil {
public:
static int VPrintf(char *buf, char *last, const char *fmt, va_list args);
static int Printf(char *buf, char *last, const char *fmt, ...);
static String Format(const char *fmt, ...);
static StringArray Split(const String &str, const String &delims, uint max_splits = 0);
};
} // namespace gfx
} // namespace cc
#endif // CC_CORE_KERNEL_UTIL_STRING_UTIL_H_