Upper

Converts a string to uppercase using culture-invariant conversion rules.

Syntax

Upper(text)

Parameters

  • text (string): The string to convert to uppercase

Returns

  • string: The input string converted to uppercase

Description

Ensures consistent uppercase conversion behavior across different system locales and cultural settings for reliable text processing.

Examples

var result1 = Upper("hello world")     # Returns "HELLO WORLD"
var result2 = Upper("MiXeD CaSe")      # Returns "MIXED CASE"
var result3 = Upper("ALREADY UPPER")  # Returns "ALREADY UPPER"
var result4 = Upper("abc123")          # Returns "ABC123"

Back to top

Copyright © Mesch Systems. All rights reserved.