W3cubDocs

/RethinkDB JavaScript

ReQL command: upcase

Command syntax

string.upcase() → string

Description

Uppercases a string.

Example:

r.expr("Sentence about LaTeX.").upcase().run(conn, callback)

Result:

"SENTENCE ABOUT LATEX."

Note: upcase and downcase only affect ASCII characters.

Related commands

Get more help

Couldn't find what you were looking for?

© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/javascript/upcase/