Read a textfile and save a word in a variable

closed account (zh54jE8b)
Hi,
i need your help;)
I want to write a programm which shall read the text e.g. "C:\text.txt"and search for the word "example" in this file. After that it shall save the after "example" in a variable. Doesn't care if string or char.
Can you help me?

Thanks
Steffen

Topic archived. No new replies allowed.