summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-08-30 14:06:28 +0200
committerGitHub <noreply@github.com>2022-08-30 14:06:28 +0200
commit0bf3f7915780f30fab4db323e843b35bf9210548 (patch)
tree14390176bc1ad83f43af8d27684e3f841565ff6e /doc/classes
parentebe4f8d3a4a706c5eb1b7a8283883c63c131cad7 (diff)
parentd4555ef5fbf706c43faccf5fdb3f023696197727 (diff)
Merge pull request #63902 from dalexeev/string-cases
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/String.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml
index c111528c06..316bb923b7 100644
--- a/doc/classes/String.xml
+++ b/doc/classes/String.xml
@@ -775,6 +775,12 @@
Converts the String (which is a character array) to ASCII/Latin-1 encoded [PackedByteArray] (which is an array of bytes). The conversion is faster compared to [method to_utf8_buffer], as this method assumes that all the characters in the String are ASCII/Latin-1 characters, unsupported characters are replaced with spaces.
</description>
</method>
+ <method name="to_camel_case" qualifiers="const">
+ <return type="String" />
+ <description>
+ Returns the string converted to [code]camelCase[/code].
+ </description>
+ </method>
<method name="to_float" qualifiers="const">
<return type="float" />
<description>
@@ -804,6 +810,18 @@
Returns the string converted to lowercase.
</description>
</method>
+ <method name="to_pascal_case" qualifiers="const">
+ <return type="String" />
+ <description>
+ Returns the string converted to [code]PascalCase[/code].
+ </description>
+ </method>
+ <method name="to_snake_case" qualifiers="const">
+ <return type="String" />
+ <description>
+ Returns the string converted to [code]snake_case[/code].
+ </description>
+ </method>
<method name="to_upper" qualifiers="const">
<return type="String" />
<description>