Create a GDScript String function repeat

Fixes #30610
This commit is contained in:
Bhupendra Aole
2019-09-01 23:49:55 -04:00
committed by Bhupendra Aole
parent 00aabec8bb
commit 073f625a91
4 changed files with 28 additions and 0 deletions

View File

@@ -677,6 +677,15 @@
Replaces occurrences of a case-insensitive substring with the given one inside the string.
</description>
</method>
<method name="repeat">
<return type="String">
</return>
<argument index="0" name="count" type="int">
</argument>
<description>
Returns original string repeated a number of times. The number of repetitions is given by the argument.
</description>
</method>
<method name="rfind">
<return type="int">
</return>