07-26-2017 06:10 AM
Hello all ,
i need to read a data from a notepad.i have a wish to read a data using a Report generation toolkit.
Is that possible ??? please post your ideas and Vi's to do that.
i have attached a sample notepad file.
Solved! Go to Solution.
07-26-2017 06:42 AM
07-26-2017 06:55 AM
Hello jim ,
i know this method but i asked is there possibility to do via Report generation toolkit .
coming to our output , i also get a same output but i need a extract a particular file name out . how to crack that ?
07-26-2017 07:28 AM
I agree with Jim -- I don't understand why you want to use a more complex tool like the RGT (that is designed to produce HTML, Word (.docx), and Excel (.xlsx) documents, and in some cases, can also read these documents) when you are dealing with a file format that is (a) very simple and (b) not a file format "native" to the RGT components.
You mention needing to "extract a particular file name out". A minor modification of Jim's code will produce an Array of Strings (one string for each line of text) that might facilitate doing string processing by running the Array through a For loop and parsing one line at a time, like this:
Bob Schor
07-26-2017 09:00 AM
Thank you bob . !!