repeating string

Mike Kerner MikeKerner at roadrunner.com
Mon Feb 10 13:45:48 EST 2014


I like that, too


On Mon, Feb 10, 2014 at 12:54 PM, J. Landman Gay
<jacque at hyperactivesw.com>wrote:

> On 2/10/14, 11:51 AM, Devin Asay wrote:
>
>> Seems like the most LiveCode-like syntax would be something like:
>>
>> pad <container> with <string> at beginning|end|<chunk description> [for]
>> N [times]
>>
>> So,
>>
>> pad myvar with space at beginning 4 times
>>
>> pad fld "foo" with 0 at end 10 times
>>
>> pad "hello" with "xyz" after char 3 for 2 times --> helxyzxyzlo
>>
>
> Ooh. Nice! Like.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> _______________________________________________
> 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