delete part of a string lua code example
Example: how to remove characters from a string in lua
-- removing characters
local str = "Hello World"
print(str:gsub("%o", "")
--> Hell Wrld
-- removing characters
local str = "Hello World"
print(str:gsub("%o", "")
--> Hell Wrld