Пример #1
0
nstring CStringUtils::ToLowerCase(const nstring &str)
{
	nova::nstringstream lower;
	for(nova::nUInt32 i = 0; i < str.size(); ++i)
		lower << (char)tolower(str[i]);

	return lower.str();
}
Пример #2
0
nstring CStringUtils::ToUpperCase(const nstring &str)
{
	nova::nstringstream upper;
	for(nova::nUInt32 i = 0; i < str.size(); ++i)
		upper << (char)toupper(str[i]);

	return upper.str();
}