How can i store the contents of a string variable to a text file ?
How can i search in a string variable for specific text for example find if the word book is in the string?
To save the file to text you can do:
System.IO.File.WriteAllText("C:\your_path\your_file", Your_contents);
To Search for something in the string:
var position = Your_string.IndexOf("Book");
If position equals -1 then what you are searching for isn't there.