From d4555ef5fbf706c43faccf5fdb3f023696197727 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Tue, 30 Aug 2022 12:36:24 +0300 Subject: Add `String.to_{camel,pascal,snake}_case` methods --- doc/classes/String.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/classes') 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. + + + + Returns the string converted to [code]camelCase[/code]. + + @@ -804,6 +810,18 @@ Returns the string converted to lowercase. + + + + Returns the string converted to [code]PascalCase[/code]. + + + + + + Returns the string converted to [code]snake_case[/code]. + + -- cgit v1.2.3