mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 01:19:03 +00:00
Move string utility functions to stringaux.lua
This commit is contained in:
@@ -37,7 +37,7 @@ end
|
||||
local function createINstmt(tab)
|
||||
local tab2 = {}
|
||||
for i=1, #tab do tab2[i] = ("'%s'"):format(tab[i]) end
|
||||
return stdnse.strjoin(",", tab2)
|
||||
return table.concat(tab2, ",")
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user