Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua string replace / remove

text = "My text!"
-- Replace My by Our
text = text:gsub("My", "Our")
-- Remove "!"
text = text:gsub("!", "")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #lua #string #replace #remove
ADD COMMENT
Topic
Name
2+4 =