TitleCase

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

Description

The TitleCase function returns a string which has the first letter of each word capitalized.

Parameters

Argument Type Definition and Requirements

value

String

The string having the words capitalized.

Returns

A string value which has the first letter of each word capitalized.

Examples

Not available in this language yet.
Not available in this language yet.
System.out.println(
   client.query(
      Arr(
         TitleCase("JOHN the FiReMan "),
         TitleCase("FIRE And FireMan")
      )
   ).get());
["John The Fireman ", "Fire And Fireman"]
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.

Was this article helpful?

We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums or email docs@fauna.com

Thank you for your feedback!