Software / code / prosody
Diff
plugins/muc/history.lib.lua @ 11787:3ae6fa901a8b
util.array: Add :slice() method + tests
Behaviour follows the same logic as string.sub (so yes, 1-indexed).
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 12 Sep 2021 10:50:20 +0100 |
| parent | 11711:6fbbfa4a1178 |
| child | 12977:74b9e05af71e |