Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

how to remove characters from a string in lua

-- removing characters

local str = "Hello World"

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

--> Hell Wrld
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #characters #string #lua
ADD COMMENT
Topic
Name
2+3 =