{"description":"\u3061\u3087\u3063\u3068\u3060\u3051\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 split(sep)\u306f\u533a\u5207\u308a\u6587\u5b57sep\u3092\u6307\u5b9a\u3057\u3066\u305d\u308c\u3067String\u306a\u3069\u3092\u5206\u5272\u3059\u308b\u3002 \u4e00\u65b9\u3001split()\u306f\u4efb\u610f\u7a7a\u767d\u6587\u5b57(\u30bf\u30d6\u3001\u6539\u884c\uff09\u3067\u533a\u5207\u3063\u3066\u3044\u304f\u3002 split(\" \")\u3068\u5177\u4f53\u7684\u306bspace\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u3068\u3044\u3046\u5b9f\u9a13\u3002 \u7d50\u8ad6\u304b\u3089\u3044\u3046\u3068\u3001split()\u306b\u3057\u3066\u304a\u304f\u3068\u826f\u3044\u3053\u3068\u304c\u591a\u3044\u3002 >>> a = \"1 2 3 4 5\">>> a.split()['1', '2', '3', '4', '5']>>> a.split(\" \")['1', '2', '3', '4', '', '5'] 4\u30685\u306e\u9593\u306b\u306f\u30b9\u30da\u30fc\u30b9\u304c\uff12\u3064\u5165\u3063\u3066\u3044\u307e\u3059\u3002split(\" \")\u3067\u533a\u5207\u308b\u3068\u3001\u7a7a\u6587\u5b57\u304c\u30ea\u2026","height":"190","type":"rich","image_url":null,"published":"2014-02-05 14:01:59","blog_title":"Bag of ML Words","title":"Python: split\u306b\u3088\u308b\u533a\u5207\u308a\u306e\u6319\u52d5","blog_url":"https://dr-kayai.hatenablog.com/","url":"https://dr-kayai.hatenablog.com/entry/2014/02/05/140159","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdr-kayai.hatenablog.com%2Fentry%2F2014%2F02%2F05%2F140159\" title=\"Python: split\u306b\u3088\u308b\u533a\u5207\u308a\u306e\u6319\u52d5 - Bag of ML Words\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/Dr_KayAi/","author_name":"Dr_KayAi","provider_url":"https://hatena.blog","categories":["Python"],"width":"100%","provider_name":"Hatena Blog"}