$ luarocks install --server=https://luarocks.org/dev kstringex
KStringEx is a small library providing several utilities for dealing with strings.
Currently contains string splitting (by Lua patterns, or just plain old strings), trim whitespace (left, right, or both), concatenate several values optionally with a separator, or expand variable references like `${somevar}`.
Versions
Dependencies
lua >= 5.1, < 5.4