Fix String.capitalize() description to follow camelCase changes

This closes #40093.
This commit is contained in:
Hugo Locurcio 2020-07-03 20:34:15 +02:00
parent 0148a62d89
commit 887099680a
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -332,7 +332,7 @@
<return type="String"> <return type="String">
</return> </return>
<description> <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> </description>
</method> </method>
<method name="casecmp_to"> <method name="casecmp_to">