replicate string
Description
s2 repl(s1, i)
repl(s1, i) produces a string consisting of i concatenations of s1.
Parameters
- s1
- string to be replicated.
- i
- number of replications
- returns
- concatenated string
Errors
101 |
i is not integer |
103 |
s1 is not string |
205 |
i < 0 |