I want to know if anyone has a quick function that I could have that opens a file and looks for a line of code in it. If it finds it, it would print something below the line that it finds.

Kinda difficult but maybe someone has an idea

Thanks for any help.