Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -0,0 +1,8 @@
|
|||
require "list"
|
||||
|
||||
local s = slist.of("A", "B")
|
||||
local ixs = s:find("A") -- always returns an array of indices even if we only want the first
|
||||
if #ixs > 0 then
|
||||
s:insert(ixs[1] + 1, "C")
|
||||
print(s)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue