Hello!
I am trying to create a terminal system and need to figure out to remove character groups such as “all” or “?*”. How could I achive this? (I will be removing these from a string, in a module script)
Thank you!
Hello!
I am trying to create a terminal system and need to figure out to remove character groups such as “all” or “?*”. How could I achive this? (I will be removing these from a string, in a module script)
Thank you!
Using string.gsub() you are able to remove words or characters from a string
Ex:
local text = "Hi Mom!"
print(text:gsub("Mom", ""))
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.