UpperCase

Not available in this language yet.
TitleCase( value )
TitleCase( value )
TitleCase( value )
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
TitleCase( 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.

System.out.println(
  client.query(
    Arr(
       UpperCase("FiRe"),
       UpperCase("Fire And FireMan")
    )
  ).get());
["FIRE", "FIRE AND FIREMAN"]

Was this article helpful?

We're sorry to hear that.
Tell us how we can improve! documentation@fauna.com

Thank you for your feedback!