Description:
Create a new string by concatenating strings together.
Syntax:
fill(s,n)
Note:
Get a new string by concatenating n strings together.
Parameter:
|
s |
Source strings. |
|
n |
Number of source strings. |
Return value:
String
Example:
|
fill("1 ",10) |
"1 1 1 1 1 1 1 1 1 1 ". |
|
fill("a b",10) |
"a ba ba ba ba ba ba ba ba ba b". |