feat(string): add SStrUpper

This commit is contained in:
fallenoak 2021-02-13 18:51:47 -06:00
parent b4485a3498
commit 0d00bd3ae4
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
3 changed files with 33 additions and 0 deletions

View file

@ -629,3 +629,10 @@ int32_t SStrToInt(const char* string) {
return result;
}
void SStrUpper(char* string) {
while (*string) {
*string = static_cast<char>(toupper(*string));
string++;
}
}