• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Created page with "local NanaminFunctions = {} function NanaminFunctions.split(haystack, needle) local result = {} while mw.ustring.find(haystack, needle) do local split = mw.us..."
local NanaminFunctions = {}

function NanaminFunctions.split(haystack, needle)
local result = {}
while mw.ustring.find(haystack, needle) do
local split = mw.ustring.find(haystack, needle)
table.insert(result, mw.ustring.sub(haystack, 1, split - 1))
haystack = mw.ustring.sub(haystack, split + 1)
end
table.insert(result, haystack)
return result
end

return NanaminFunctions
48

edits

Navigation menu