I have a text file that contains multiple records. Within the records, I am able to locate the line containing the desired text and read it into a string. Inside the line, I know the number of the starting character for the words I need. The length of the substring is not constant, however. How can I isolate the desired characters and move them into a variable? In this case, the desired information is written in all caps and is my test for locating the target phrase.
I am a newbie to python and am finding it difficult to convert to an object-oriented language.