summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-07-03 20:34:15 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-07-03 20:36:27 +0200
commit887099680a7ae2aca53ef0e944fc408e0d333591 (patch)
treedeb16591ccebaab9d71ee0afb2ce612f1328115a /doc
parent0148a62d890e0d559bec86fcac14404c81742899 (diff)
Fix `String.capitalize()` description to follow camelCase changes
This closes #40093.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/String.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml
index 6d9def7ccb..516eb9dd57 100644
--- a/doc/classes/String.xml
+++ b/doc/classes/String.xml
@@ -332,7 +332,7 @@
<return type="String">
</return>
<description>
- Changes the case of some letters. Replaces underscores with spaces, converts all letters to lowercase, then capitalizes first and every letter following the space character. For [code]capitalize camelCase mixed_with_underscores[/code], it will return [code]Capitalize Camelcase Mixed With Underscores[/code].
+ Changes the case of some letters. Replaces underscores with spaces, adds spaces before in-word uppercase characters, converts all letters to lowercase, then capitalizes the first letter and every letter following a space character. For [code]capitalize camelCase mixed_with_underscores[/code], it will return [code]Capitalize Camel Case Mixed With Underscores[/code].
</description>
</method>
<method name="casecmp_to">