Method Replace Replace(string, string) Declaration public void Replace(string text, string replacement) Parameters Type Name Description string text string replacement