How To Remove Characters From A String In Lua

[Solved] How To Remove Characters From A String In Lua | Lua - Code Explorer | yomemimo.com
Question : how to remove characters from a string in lua

Answered by : jonesloto

-- removing characters
local str = "Hello World"
print(str:gsub("%o", "")
--> Hell Wrld

Source : https://stackoverflow.com/questions/18791352/remove-characters-from-a-string | Last Update : Sun, 08 Nov 20

Answers related to how to remove characters from a string in lua

Code Explorer Popular Question For Lua