Replace text in a string · -- replace "hello" with "Lua says hello" · local s = "hello world" · x = s:gsub( "hello", "Lua says hello") · --> x=" ...
確定! 回上一頁