Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

replace text c# file

string text = File.ReadAllText("test.txt");
text = text.Replace("some text", "new value");
File.WriteAllText("test.txt", text);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #text #file
ADD COMMENT
Topic
Name
9+5 =