I am trying to concat 2 strings and also append some characters to them. For example
local currdir
local node
local arg = (currdir..node)
function(arg)
etc....
but “arg” needs to have a “\” at the end of it, and be surrounded by doublequotes. So literally passed to function like “arg\”. Does anyone know how to do this? cheers
what about
This also removes any already existing trailing backslashes. For jigsawing pathnames together, you can also take a look at table.concat, and have the different pieces in a table.