upper(str) returns a copy of str with all letters converted to uppercase.
Signature
Example
Normalize an environment name to uppercase for use as a configuration key prefix:staging becomes STAGING.
Notes
upperconverts all Unicode letters, not just ASCII.- Pair
upperwith other string functions to build identifiers or keys that follow uppercase conventions.