Rep$

 

Purpose:

Returns a string that contains the appropriate number of strings defined in the first parameter.

Parameter:

String

Number

Return value:

String

Example:

Rep$("-",10)    Result: "----------"

Rep$("+-",5)    Result: "+-+-+-+-+-"