Using splitlines() and join() , you can remove newline characters from a string or replace them with another string. s = 'Line1\nLine2\r\nLine3 ...
確定! 回上一頁