Add: String functionality to trim spaces from C-style strings

This commit is contained in:
rubidium42
2021-04-23 07:46:50 +02:00
committed by rubidium42
parent b14f412117
commit 5202869f0f
2 changed files with 61 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ bool strtolower(char *str);
bool strtolower(std::string &str, std::string::size_type offs = 0);
bool StrValid(const char *str, const char *last);
void StrTrimInPlace(char *str);
/**
* Check if a string buffer is empty.