mirror of
https://github.com/open-goal/jak-project
synced 2026-07-05 21:49:28 -04:00
2f4146d469
This fixes the hideous output when your terminal would be too small to hold all the threads.
12 lines
402 B
C++
12 lines
402 B
C++
#include <string>
|
|
|
|
namespace str_util {
|
|
bool contains(const std::string& s, const std::string& substr);
|
|
bool starts_with(const std::string& s, const std::string& prefix);
|
|
std::string ltrim(const std::string& s);
|
|
std::string rtrim(const std::string& s);
|
|
std::string trim(const std::string& s);
|
|
int line_count(const std::string& str);
|
|
bool valid_regex(const std::string& regex);
|
|
} // namespace str_util
|