summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-04 09:57:46 +0200
committerGitHub <noreply@github.com>2020-07-04 09:57:46 +0200
commit9cec315ec0aeb7a105a9b0828e437b7d508f6dc1 (patch)
treedf8a61ea34384fad690a3b78d1815bcdf96f1039
parent9828fcc01abf841d840bc262155a3e2e420ac072 (diff)
parent887099680a7ae2aca53ef0e944fc408e0d333591 (diff)
Merge pull request #40103 from Calinou/doc-fix-string-capitalize
Fix `String.capitalize()` description to follow camelCase changes
-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 b692051097..78168562f1 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">