repeating string
Mike Kerner
MikeKerner at roadrunner.com
Wed Feb 5 12:50:29 EST 2014
nice.
On Wed, Feb 5, 2014 at 11:24 AM, Alex Tweedly <alex at tweedly.net> wrote:
> 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.
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the use-livecode
mailing list