Reply to comment


April 26, 2019, 2:05 nachm. -  Stephan Sokolow

Depending on what your requirements are, you might just be able to use this: while s.ends_with('\n') || s.ends_with('\r') { s.pop(); }

Kommentar abschicken