String$

String = String$ ( Length AS Integer , Pattern AS String )

Return a string containing Length times the Pattern.

Examples

Print String$(12, "*")
************

Print String$(2, "Gambas")
GambasGambas

See also