I
I
insevert2019-12-17 18:01:12
Java
insevert, 2019-12-17 18:01:12

How to replace different words in a file with other words from another file?

Suppose there are some words in the words.txt file, for example: #one, #two, #three. And there is a text.txt file, where there are words: one, two, three, four, five. What are the ways to write code so that such an overwrite occurs in the text.txt file: # one, # two, # three, four, five? That is, just replacing words from one file to another.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2019-12-17
@zagayevskiy

There aren't many ways to write code. You can type the code with your hands, you can dictate with your voice. Some of the code can be generated automatically, but this usually requires writing some code manually.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question