Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 457 Bytes

File metadata and controls

29 lines (22 loc) · 457 Bytes
layout api-command
language Python
permalink api/python/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)
"SENTENCE ABOUT LATEX."

Note: upcase and downcase only affect ASCII characters.