浏览代码

Clarify that String.insert returns a copy

Supersedes and closes #32620.
Rémi Verschelde 5 年之前
父节点
当前提交
121fb46ab9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/String.xml

+ 1 - 1
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">