I have an output that is basically a paragraph and when I try to search the string for a substring, if that substring is split up it doesnt' work. How can I make the paragraph string into just 1 line?
Example string:
I have an output that is basically a paragraph and when I try
to search the string for a substring, if that substring is split up it
doesn't work. How can I make the paragraph string into just 1 line?
substring: "it doesn't work"
When I try to search for that substring, it doesn't return true.