Shiny Language Reference

Language Reference > String Functions


strupper

string strupper(string Target);

 

Synonyms

string toupper(string Target);

string makeupper(string Target);

 

Forces a string to uppercase

STRUPPER forces the specified string to uppercase. This is useful for performing comparisons on strings, which are normally case-sensitive.

 

Parameters

Target

The string to make uppercase

 

Return Value

The passed string, converted to uppercase.

 

Example Code

// UpperCaseString will equal "THIS WILL BE UPPERCASE"
string UpperCaseString = strupper("this will be uppercase");