Content


NTL
Core
ToUpper

ToUpper


Convert character/string to upper case.

You can find more information in comments below.

/**
Convert string to upper case and return result 
@param str Source string 
@param locale Locale used for conversion. Default is current one 
@return Uppercase representation of source string 
*/
String ToUpper(const String &str, const std::locale &locale = std::locale());
/**
Convert character to upper case and return result 
@param chr Source character 
@param locale Locale used for conversion. Default is current one 
@return Uppercase representation of source character 
*/
wchar_t ToUpper(const wchar_t chr, const std::locale &locale = std::locale());
/**
Convert ansi string to upper case and return result 
@param str Source string 
@param locale Locale used for conversion. Default is current one 
@return Uppercase representation of source string 
*/
AnsiString ToUpper(const AnsiString &str, const std::locale &locale = std::locale());
/**
Convert ansi character to upper case and return result 
@param chr Source character 
@param locale Locale used for conversion. Default is current one 
@return Uppercase representation of source character 
*/
char ToUpper(const char chr, const std::locale &locale = std::locale());
Namespace: nitisa
Include: Nitisa/Core/Strings.h