docs/api/javascript/string-manipulation/downcase.md at master · rethinkdb/docs

Skip to content

Navigation Menu

Sign in

Appearance settings

Latest commit

File metadata and controls

37 lines (28 loc) · 535 Bytes

layout api-command
language JavaScript
permalink api/javascript/downcase/
command downcase
io

string

string

related_commands
upcase match split

upcase/

match/

split/

Command syntax

{% apibody %} string.downcase() → string {% endapibody %}

Description

Lowercases a string.

Example:

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

Result:

Note: upcase and downcase only affect ASCII characters.