summaryrefslogtreecommitdiff
path: root/doc/classes/String.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/String.xml')
-rw-r--r--doc/classes/String.xml26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml
index 03f62732c4..0dd6923129 100644
--- a/doc/classes/String.xml
+++ b/doc/classes/String.xml
@@ -620,6 +620,19 @@
Returns [code]true[/code] if this string contains a valid IP address.
</description>
</method>
+ <method name="join">
+ <return type="String">
+ </return>
+ <argument index="0" name="parts" type="PackedStringArray">
+ </argument>
+ <description>
+ 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]
+ </description>
+ </method>
<method name="json_escape">
<return type="String">
</return>
@@ -837,19 +850,6 @@
Returns a copy of the string with characters removed from the right.
</description>
</method>
- <method name="join">
- <return type="String">
- </return>
- <argument index="0" name="parts" type="PackedStringArray">
- </argument>
- <description>
- 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]
- </description>
- </method>
<method name="sha1_buffer">
<return type="PackedByteArray">
</return>