don't get me wrong, I hate it, because it's c and I can't just stare at it and know that %30s means pad the front with spaces, but nice.
On Wed, Feb 5, 2014 at 12:50 PM, Mike Kerner <mikeker...@roadrunner.com>wrote: > nice. > > > On Wed, Feb 5, 2014 at 11:24 AM, Alex Tweedly <a...@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@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." > -- 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." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode