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(); }
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(); }