Published
- 1 min read
lua string replace / remove
The solution for this is noted below
lua string replace / remove
Solution
text = "My text!"
-- Replace My by Our
text = text:gsub("My", "Our")
-- Remove "!"
text = text:gsub("!", "")
Try other methods by searching on the site. That is if this doesn’t work