string.filledString ('.', 20)
» "...................."
string.filledString ("What, me worry? ", 4)
» "What, me worry? What, me worry? What, me worry? What, me worry? "
amount = "33.33";
amtLength = sizeof (amount);
fillChars = 10 - amtLength;
s = string.filledstring ('*', fillChars) + '$' + amount;
msg (s)
» "*****$33.33"
The script above produces a formatted string which might be useful in check-writing.