HomeManualTopicsTypesSymbols

std_types::string/std::to_upper_case

returns the string converted to UPPER CASE

Parameter

self
the string to convert

Results

None

Example

$str "abc" $upper_case_str str.to_upper_case println! upper_case_str

Output

ABC

Topic

Strings

Implements

std::to_upper_case converts all lower case characters to UPPER CASE

See also

std::to_lower_case converts all upper case characters to lower case
std::to_title_case converts the contents to Title Case
std::map_characters applies a function to each character of the string