Jan-06-2020, 06:37 PM
I'm unclear on what your question is, exactly. It would help me to help you if you could be a little more organized, e.g. if you're just having trouble parsing the HTML, please provide a sample string and the result you want to get from it, along with that code attempt and an English explanation of how what you have and what you want are different.
If you can ask your question with 5-10 lines of code, excluding the "input" definition (which in your case I can see being a string, or a class) that would help a lot too, I don't tend to read anything more than 30 lines of code or so on this site unless the question clearly can't be asked in fewer lines. It seems like your question isn't really about POP, so unless I'm mistaken you'll want to remove all that code from what you post here.
If you can ask your question with 5-10 lines of code, excluding the "input" definition (which in your case I can see being a string, or a class) that would help a lot too, I don't tend to read anything more than 30 lines of code or so on this site unless the question clearly can't be asked in fewer lines. It seems like your question isn't really about POP, so unless I'm mistaken you'll want to remove all that code from what you post here.