mirror of
https://github.com/vxcontrol/soldr-modules.git
synced 2026-07-22 01:15:45 -04:00
4 lines
122 B
Lua
4 lines
122 B
Lua
-- courtesy of the jungle: http://lua-users.org/wiki/StringTrim
|
|
return function(str)
|
|
return str:match "^%s*(.-)%s*$"
|
|
end |