From f02d1049745bdca4a58cad3b512e3fb502f138c0 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 1 Apr 2024 22:26:57 +0100 Subject: launch echest --- strutil.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 strutil.lua (limited to 'strutil.lua') 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 -- cgit v1.2.3