[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Most awesome string metatable hack
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 31 Jan 2014 14:42:06 +0200
On Fri, Jan 31, 2014 at 2:33 PM, Fabien <fleutot+lua@gmail.com> wrote:
> I often do that, but rather with the "%" operator as in Python:
>
>> print("hello %s" % { "world" }).
Yep, true to its Python-inspired roots, Penlight has that as an option:
http://stevedonovan.github.io/Penlight/api/modules/pl.text.html