| layout | api-command | ||||||
|---|---|---|---|---|---|---|---|
| language | JavaScript | ||||||
| permalink | api/javascript/downcase/ | ||||||
| command | downcase | ||||||
| io |
|
||||||
| related_commands |
|
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.