diff options
author | Bhupendra Aole <bhupendra.aole@gmail.com> | 2019-09-01 23:49:55 -0400 |
---|---|---|
committer | Bhupendra Aole <aole@users.noreply.github.com> | 2019-09-03 13:06:13 -0400 |
commit | 073f625a91969b93644321326e42bbc511348262 (patch) | |
tree | 82d6051bd9822bee096dae383e48d2cb47959029 /doc/classes | |
parent | 00aabec8bb598592b8a8702797b51fc9f6ca6169 (diff) |
Create a GDScript String function repeat
Fixes #30610
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/String.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml index f6ec85c87d..7124d5f4dd 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -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> |