You mean the x operator?
print '*' x 3; [download]
In reply to Re: Building strings of specific length by Corion in thread Building strings of specific length by Steve_BZ