I am trying to figure out how to remove a word from string. I tried using string.sub but don't know what to do from there.
local String = "Buy Model"
if string.sub(String, 1, 4) == "Buy " then
--I know you can do String = string.sub(String, 5, 8) but there is multiple strings I want to remove "Buy " from
end

2 comments
He did mention that he knows the string subbing method. He is referring string.gsub("word", "")
Oh wait, you're the same person. My bad, refer to the wiki link: https://www.robloxdev.com/articles/Lua-Libraries/string