First commit

This commit is contained in:
2026-02-19 18:51:17 +02:00
commit 2d9b2318a9
16 changed files with 358 additions and 0 deletions

7
exercises/ch04/ex4_5.lua Normal file
View File

@@ -0,0 +1,7 @@
local function remove(str, start, length)
local start_part = str:sub(1, start - 1)
local end_part = str:sub(start + length, -1)
return start_part .. end_part
end
print(remove("hello world", 7, 4))