LowerCase

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

Description

The LowerCase function returns a string in which all uppercase characters have been replaced by their corresponding lowercase characters.

Parameters

Argument Type Definition and Requirements

value

String

The string to lowercase.

Returns

A string value which has all characters lowercased.

Examples

The query below executes an array of independent LowerCase operations and returns the results in an array. The result array position matches the execution array position. The first operation takes a string "FiRe" and converts all characters to their corresponding lowercase characters. 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 their corresponding lowercase characters. The lowercase version of the string is placed in the second position of the result array.

System.out.println(
  client.query(
    Arr(
       LowerCase("FiRe"),
       LowerCase("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!