Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 535 Bytes

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:

"sentence about latex."

Note: upcase and downcase only affect ASCII characters.