how to remove characters from a string in lua

254

how to remove characters from a string in lua -

-- removing characters

local str = "Hello World"

print(str:gsub("%o", "")

--> Hell Wrld

Comments

Submit
0 Comments