Variable length string

I would like to fill a string with "*", where the number of characters varies from run to run.  In one run the string could consist of ten "*" and the next it could be 20.  Does this need to be constructed with a loop:

do
     sString += "*"
     nIndex += 1
while (nIndex < nLimit)

or is there a simpler way?

Thanks.