summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-07 13:12:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-11-07 13:12:06 +0100
commit121fb46ab98c244069dc196644afef7e2747497d (patch)
treed0f7539c55babffb5e3499010c980c44f75f3bdd
parentbcb6a991547f17c51e39603b74419794b9daa6f3 (diff)
Clarify that String.insert returns a copy
Supersedes and closes #32620.
-rw-r--r--doc/classes/String.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml
index cf152e716e..e0a4a24299 100644
--- a/doc/classes/String.xml
+++ b/doc/classes/String.xml
@@ -459,7 +459,7 @@
<argument index="1" name="what" type="String">
</argument>
<description>
- Inserts a substring at a given position.
+ Returns a copy of the string with the substring [code]what[/code] inserted at the given position.
</description>
</method>
<method name="is_abs_path">