2
0
Эх сурвалжийг харах

Clarify that String.insert returns a copy

Supersedes and closes #32620.
Rémi Verschelde 5 жил өмнө
parent
commit
121fb46ab9

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