ToUpper

Returns the uppercase equivalent of the given string. This function is locale independent. It only converts lowercase characters in the standard 7-bit ASCII range. This is a feature, not a limitation.

Synopsis

Declared in <util/strencodings.h>

std::string
ToUpper(std::string_view str);

Return Value

UPPERCASED EQUIVALENT OF str

Parameters

NameDescription
str [in]the string to convert to uppercase.