From 8c2dc177b61e6c9bc1895a5046e229cad28052e5 Mon Sep 17 00:00:00 2001 From: Mateo Kuruk Miccino Date: Thu, 7 May 2020 15:53:49 -0300 Subject: GDScript: Add join method on String Docs: Add join on String.xml --- doc/classes/String.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/String.xml b/doc/classes/String.xml index a72b8f05d8..03f62732c4 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -837,6 +837,19 @@ Returns a copy of the string with characters removed from the right. + + + + + + + Return a [String] which is the concatenation of the [code]parts[/code]. The separator between elements is the string providing this method. + Example: + [codeblock] + print(", ".join(["One", "Two", "Three", "Four"])) + [/codeblock] + + -- cgit v1.2.3