UpperCase

Not available in this language yet.
UpperCase( value )
UpperCase( value )
UpperCase( value )
Not available in this language yet.
UpperCase( value )

Description

The UpperCase function returns a string which has all lowercase characters in the string replaced by their corresponding uppercase characters.

Parameters

Argument Type Definition and Requirements

value

String

The string to be converted to uppercase.

Returns

A string value which has all characters converted to uppercase.

Examples

The query below executes an array of independent UpperCase operations and returns the results in an array. The result array position matches the execution array position. The first operation takes the string "FiRe" and converts all characters in the string to uppercase. The resultant object "FIRE" is placed in the top position of the result array. The second operation uses the string "FiRe And FireMan" and converts all characters to uppercase. The new uppercase string is placed in the second position of the result array.

Not available in this language yet.
Not available in this language yet.
System.out.println(
  client.query(
    Arr(
       UpperCase("FiRe"),
       UpperCase("Fire And FireMan")
    )
  ).get());
["FIRE", "FIRE AND FIREMAN"] 
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!