repeating string

Alex Tweedly alex at tweedly.net
Wed Feb 5 11:24:16 EST 2014


On 05/02/2014 15:06, Mike Kerner wrote:
> Alex's idea is also clever, but what if I am trying to repeat another
> character, like "#"?
>
>

put replacetext( format("%30s", " "), " ", "x") into myVar

(no promises for being the speediest solution - but still one line and 
no library involved).
-- Alex.




More information about the use-livecode mailing list