diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-01 22:26:57 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-01 22:26:57 +0100 |
commit | f02d1049745bdca4a58cad3b512e3fb502f138c0 (patch) | |
tree | 740f06b8d32e55da5ce45ae1b1af3ce8140b2609 /strutil.lua | |
parent | 140e2428a5dea93042abbcf4e79a414e46ddb5d8 (diff) |
launch echest
Diffstat (limited to 'strutil.lua')
-rw-r--r-- | strutil.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/strutil.lua b/strutil.lua new file mode 100644 index 0000000..47ddb06 --- /dev/null +++ b/strutil.lua @@ -0,0 +1,7 @@ +local function splitw(str) + local res = {} + for s in str:gmatch("%S+") do + table.insert(res,s) + end + return res +end |