• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Search results

  1. DarkHack

    String replace '[' or ']' how?

    Hi, I search to use some path with '[' and ']', but in unix maybe windows too, for mkdir path, like #find \[dw\]/\[core\]/ [dw]/[core]/ [dw]/[core]/dwInit [dw]/[core]/dwInit/client I have to escape the '[' by '\', so with gsub, I had tried : path:gsub(string.format("%c"...