lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On 01/08/14 03:13 PM, Dirk Laurie wrote:
string.reverse already exists.



2014-08-01 19:05 GMT+02:00 Thiago L. <fakedme@gmail.com>:
Can we please get reverse stuff?

For example table.copy({"a","b","c","d"},4,1,1) -> {"d","c","b","a"},
string.sub("something",#"something",1) -> "gnihtemos", etc

What about tables?