how to replace a word in specific line in text file
It is guessing, but this changes faux in the second line Dim TheLines = Split(TextBox1.Text, Environment.NewLine) TheLines(1) = TheLines(1).Replace("faux", "OK") 'changes the second (2) line'...
View Articlehow to replace a word in specific line in text file
HiPlease show text file contents before process, and text file after process.I do not see that mycode is different from your last post explanation.Regards Les, Livingston, Scotland
View Articlehow to replace a word in specific line in text file
thanks for answeringi want when i complete some task it goes to the specified line and change that faux to ok and continue for exemple i have 3 line1 abc abc .... faux2 abc abc ......faux3 abc abc...
View Articlehow to replace a word in specific line in text file
HiI tried your code line. I used a text file containing:*Here is some faux text with faux contained in the flow faux of characters where faux will be replaced faux with 'ok' as requested. faux*After...
View Articlehow to replace a word in specific line in text file
in text file i have multiline so i want in of each line where "faux" will be replaced with "ok"1 abc abc abc 5 6 faux2 abc abc abc 5 6 fauxwith the number that i have i will change faux with...
View Article