repeating string

J. Landman Gay jacque at hyperactivesw.com
Mon Feb 10 12:54:53 EST 2014


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




More information about the use-livecode mailing list