Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Lua
how to remove characters from a string in lua
Ankesh
Programming language:
Lua
2021-02-22 19:37:30
0
Q:
how to remove characters from a string in lua
StackFeed
Code:
Lua
2021-02-22 19:42:15
-- removing characters local str = "Hello World" print(str:gsub("%o", "") --> Hell Wrld
0
Tags
string
remove
how
character
characters
Related
lua table of all characters
replace part of string lua
New to Communities?
Join the community