On Tuesday 19 May 2015 03:01:35 Robby Stephenson wrote: > At the very least, it should probably be mentioned in the class > documentation and porting notes as a behavior change. As to adding a > newline, I'll leave that up to you or others to determine. I was just going > to chop(1), but Thiago's suggestion works perfectly.
There's also .trimmed() and .simplified(), which would strip the whitespaces (including newlines). -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<