2024-03-01 14:50:55 +08:00
|
|
|
#ifndef SLED_STRINGS_UTILS_H
|
|
|
|
#define SLED_STRINGS_UTILS_H
|
2024-03-03 00:46:50 +08:00
|
|
|
#include <string>
|
|
|
|
|
2024-03-01 14:50:55 +08:00
|
|
|
namespace sled {
|
|
|
|
|
|
|
|
std::string ToLower(const std::string &str);
|
|
|
|
std::string ToUpper(const std::string &str);
|
|
|
|
std::string ToHex(const std::string &str);
|
2024-03-03 00:46:50 +08:00
|
|
|
std::string StrJoin(const std::vector<std::string> &strings,
|
|
|
|
const std::string &delim,
|
|
|
|
bool skip_empty = false);
|
2024-03-01 14:50:55 +08:00
|
|
|
|
2024-03-03 00:46:50 +08:00
|
|
|
}// namespace sled
|
|
|
|
#endif// SLED_STRINGS_UTILS_H
|