summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-24 11:50:58 +0200
committerGitHub <noreply@github.com>2019-09-24 11:50:58 +0200
commitef2a7834c9d3fbbd95a9d26ff2913e4b3c5d8f5f (patch)
tree3afbf1e30e213e0f0555aae1de1d28eb08d06cbf /doc
parentcefa56ef1fb1f700035bce5c7f005dab65b9dc81 (diff)
parent073f625a91969b93644321326e42bbc511348262 (diff)
Merge pull request #31883 from aole/create-string-function-repeat
Create a GDScript String function repeat
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/String.xml9
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>