From 2bc895c26d8b0cc7ff080c05e339d6569f86367f Mon Sep 17 00:00:00 2001 From: maze Date: Fri, 19 Feb 2021 13:16:09 +1000 Subject: [PATCH] added documentation on * operator for strings (#930) --- doc/site/modules/core/string.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/site/modules/core/string.markdown b/doc/site/modules/core/string.markdown index a5582b5e..1b98d4b9 100644 --- a/doc/site/modules/core/string.markdown +++ b/doc/site/modules/core/string.markdown @@ -246,6 +246,12 @@ Returns a new string that concatenates this string and `other`. It is a runtime error if `other` is not a string. +### *****(count) operator + +Returns a new string that contains this string repeated `count` times. + +It is a runtime error if `count` is not a positive integer. + ### **==**(other) operator Checks if the string is equal to `other`.