From Garry's Mod
Revision as of 18:46, 18 January 2015 by Shendow
Replaces all occurrences of the supplied second string.
The string we are seeking to replace an occurrence(s).
What we are seeking to replace.
What to replace find with.
Replaces the word "Garrys" by "Hers".
local text = "Garrys Mod" print(string.Replace(text, "Garrys", "Hers"))