RosettaCodeData/Task/Repeat-a-string/VBA/repeat-a-string-2.vba

4 lines
144 B
Text
Raw Permalink Normal View History

2014-01-17 05:32:22 +00:00
Public Function RepeatString(stText As String, iQty As Integer) As String
2019-09-12 10:33:56 -07:00
RepeatString = Replace(String(iQty, "x"), "x", stText)
2014-01-17 05:32:22 +00:00
End Function