Can somebody else string.gsub to me in the simplest way possible?

(Insert thread title here)

I’m a beginner so please don’t go crazy with data terms and such.

I figured a little more out about it. Essentially, I think it allows you to change what is stored in a variable to something else? Please correct if anything is wrong,

No, string.gsub replaces things in a string. ex:

local a = string.gsub('11hi1111there', '%d', '')--removes all numbers
local b = string.gsub('111,111,111', ',', '') --removes commas

--first parameter is string, second is what to replace, and third is what you are making the replacement to

read up on formatting for the things like %d for numbers and %a for letters.