mirror of
https://github.com/EQEmu/Server.git
synced 2026-07-05 20:27:17 +00:00
svn -> git Migration
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef EQEMU_STRING_H
|
||||
#define EQEMU_STRING_H
|
||||
|
||||
#include <string>
|
||||
#include <cctype>
|
||||
|
||||
namespace EQEmuString
|
||||
{
|
||||
|
||||
std::string ToUpper(std::string in_string)
|
||||
{
|
||||
std::string out_string = in_string;
|
||||
for(unsigned int i = 0; i < in_string.size(); ++i)
|
||||
{
|
||||
out_string[i] = std::toupper(in_string[i]);
|
||||
}
|
||||
return out_string;
|
||||
}
|
||||
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user