STRING
Return a string composed of the same character repeated a number of times.
WebVue support - Yes.
Syntax
StrVal = STRING(N, Char);
Return type: STR.
Argument |
Meaning |
N |
The number of characters to return. Any numeric type. |
Char |
The character to be repeated. |
Execution
The returned string is limited to 2,047 characters.
Example
SUB Main()
DIM strChain as Str;
strChain = STRING(5,"A");
PRINT(strChain);
'Display: "AAAAA"
END SUB