s = "this is my string" >>> s.split(maxsplit=1) ['this', 'is my string']. As you see above, if you set maxsplit to 1 , the first whitespace region is used ...
確定! 回上一頁