This version is out of date, covering development from v9.0.0 to v9.3.0. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

String.uppercase()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Formatting   [other Formatting operators]

 Baseline

 


String.uppercase()

Returns the referenced String, transforming all uppercase letters to lowercase.

The function can be chained to both string data and to string literals:

$MyString.uppercase() 

"my new title".uppercase() 

The latter gives "MY NEW TITLE".

The trailing parentheses may be omitted:

$MyString.uppercase 

Functionally equivalent to uppercase().

If $MyString is "hello world":

$MyString = $MyString.uppercase; 

$MyString is set to "HELLO WORLD".

The .lowercase() method may also be used on Lists or Sets. Consider "Ant;BEE;Cow":

$MyList = $MyList.uppercase; 

… giving "ANT;BEE;COW".