https://kotlinlang.org logo
p

poohbar

09/20/2018, 2:17 PM
I want to convert
"Hello John  \nThere \n"
into
"Hello John\nThere\n"
. Basically strip all trailing whitespace from each line.