Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 531 Bytes

File metadata and controls

37 lines (28 loc) · 531 Bytes
layout api-command
language JavaScript
permalink api/javascript/upcase/
command upcase
io
string
string
related_commands
downcase match split
downcase/
match/
split/

Command syntax

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

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.