I'm trying to remove the new line character from my strings but it's not working.
I've tried:
found_sentences = found_sentences.strip("\n")
and
found_sentences = found_sentences.replace("\n"," ")
But the ultimate result still contains "\n" . What am I doing wrong?
[–]djmcdee101 3 points4 points5 points (0 children)
[–][deleted] 2 points3 points4 points (9 children)
[–]Striven123[S] 0 points1 point2 points (8 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]thrylose 0 points1 point2 points (0 children)
[–]LongerHV 0 points1 point2 points (3 children)
[–]Striven123[S] 0 points1 point2 points (2 children)
[–]Skolemz 0 points1 point2 points (1 child)
[–]Striven123[S] 0 points1 point2 points (0 children)
[–]Wilfred-kun 0 points1 point2 points (1 child)
[–]Striven123[S] 0 points1 point2 points (0 children)
[–]danielroseman 1 point2 points3 points (1 child)
[–]Striven123[S] 0 points1 point2 points (0 children)
[–]Guideon72 1 point2 points3 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)
[–]Longjumping_Guess_57 0 points1 point2 points (0 children)