Language to search files? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Language to search files?

What language should I use to write a program to search through multiple large files for a word or phrase?

17th Apr 2019, 7:44 PM
Adam Shaw
7 Answers
+ 5
For example, in node.js you can read file usimg the module 'fs' and search word or phrase with indexOf(wordorphrase);
17th Apr 2019, 8:21 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 5
You can with Python, but i recommend you C# for desktop apps
17th Apr 2019, 8:31 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 1
Any language that has File I/O capabilities.
17th Apr 2019, 8:03 PM
Dlite
Dlite - avatar
+ 1
Any language that can work with files, either by creating, deleting, or modifying files, can probably do what you asked above ☝
17th Apr 2019, 8:12 PM
Dlite
Dlite - avatar
0
Could you treat me like a 5 year old, and give me a little more info? haha
17th Apr 2019, 8:10 PM
Adam Shaw
0
If I want my program to be a desktop only application, should I go with Python? I want to be able to drag and drop large pdf files into the program, then search for a word or phrase in multiple files simultaniously.
17th Apr 2019, 8:29 PM
Adam Shaw
0
Thank you!
17th Apr 2019, 8:42 PM
Adam Shaw