Parameters
- number
- Required. Integer expression. The length to the string to be returned.
- character
- Required. Any valid Char, String, or Object expression. Only the first character of the expression will be used. If Character is of type Object, it must contain either a Char or a String value.
Return Value
Returns a string or object consisting of the specified character repeated the specified number of times.