Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 476 Bytes

upcase.md

File metadata and controls

34 lines (25 loc) · 476 Bytes
layout api-command
language Java
permalink api/java/upcase/
command upcase
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);

Result:

"SENTENCE ABOUT LATEX."

Note: upcase and downcase only affect ASCII characters.