{"id":937852,"date":"2024-12-26T19:59:57","date_gmt":"2024-12-26T11:59:57","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/937852.html"},"modified":"2024-12-26T19:59:59","modified_gmt":"2024-12-26T11:59:59","slug":"split%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/937852.html","title":{"rendered":"split\u5982\u4f55\u4f7f\u7528python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25073519\/fbe62846-3fa1-46e4-9b7a-b2da08047a7f.webp\" alt=\"split\u5982\u4f55\u4f7f\u7528python\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c<code>split<\/code> \u662f\u4e00\u4e2a\u5e38\u7528\u7684\u5b57\u7b26\u4e32\u65b9\u6cd5\uff0c\u7528\u4e8e\u5c06\u5b57\u7b26\u4e32\u62c6\u5206\u4e3a\u5b50\u5b57\u7b26\u4e32\u5217\u8868\u3002<strong><code>split<\/code> \u65b9\u6cd5\u4e3b\u8981\u7528\u4e8e\u5c06\u5b57\u7b26\u4e32\u5206\u5272\u4e3a\u591a\u4e2a\u90e8\u5206\u3001\u4f7f\u7528\u6307\u5b9a\u7684\u5206\u9694\u7b26\u3001\u8fd4\u56de\u4e00\u4e2a\u5217\u8868\u3002<\/strong> \u5176\u4e2d\u4e00\u4e2a\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\u5c31\u662f\u5904\u7406CSV\u6587\u4ef6\u3001\u5206\u79bb\u65e5\u5fd7\u4fe1\u606f\u6216\u5904\u7406\u7528\u6237\u8f93\u5165\u7b49\u3002<\/p>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong><\/p>\n<\/p>\n<p><p><code>split<\/code> \u65b9\u6cd5\u9ed8\u8ba4\u4f7f\u7528\u7a7a\u683c\u4f5c\u4e3a\u5206\u9694\u7b26\uff0c\u4f46\u53ef\u4ee5\u6307\u5b9a\u5176\u4ed6\u7684\u5206\u9694\u7b26\u3002\u4f7f\u7528\u65f6\uff0c\u53ef\u4ee5\u4f20\u9012\u4e00\u4e2a\u53c2\u6570\u4f5c\u4e3a\u5206\u9694\u7b26\uff0c\u8be5\u65b9\u6cd5\u4f1a\u5728\u6bcf\u4e2a\u5206\u9694\u7b26\u51fa\u73b0\u7684\u5730\u65b9\u5c06\u5b57\u7b26\u4e32\u62c6\u5206\u3002\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\u5206\u9694\u7b26\uff0c<code>split<\/code> \u4f1a\u81ea\u52a8\u5c06\u8fde\u7eed\u7684\u7a7a\u767d\u5b57\u7b26\uff08\u7a7a\u683c\u3001\u6362\u884c\u7b26\u3001\u5236\u8868\u7b26\u7b49\uff09\u5f53\u4f5c\u5206\u9694\u7b26\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u5355\u8bcd\u7684\u5b57\u7b26\u4e32\uff0c\u6211\u4eec\u60f3\u8981\u5c06\u8fd9\u4e9b\u5355\u8bcd\u5206\u9694\u5f00\u5e76\u653e\u5165\u4e00\u4e2a\u5217\u8868\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>split<\/code> \u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;Python is a powerful programming language&quot;<\/p>\n<p>words = text.split()  # \u9ed8\u8ba4\u5206\u9694\u7b26\u4e3a\u7a7a\u683c<\/p>\n<p>print(words)  # \u8f93\u51fa: [&#39;Python&#39;, &#39;is&#39;, &#39;a&#39;, &#39;powerful&#39;, &#39;programming&#39;, &#39;language&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6307\u5b9a\u5206\u9694\u7b26\u7684\u60c5\u51b5\u4e0b\uff0c\u4f8b\u5982\u9017\u53f7\u6216\u5176\u4ed6\u7b26\u53f7\uff0c<code>split<\/code> \u65b9\u6cd5\u7684\u4f7f\u7528\u53ef\u4ee5\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">csv_line = &quot;apple,banana,cherry,dates&quot;<\/p>\n<p>fruits = csv_line.split(&#39;,&#39;)  # \u6307\u5b9a\u9017\u53f7\u4e3a\u5206\u9694\u7b26<\/p>\n<p>print(fruits)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;, &#39;dates&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u63a2\u8ba8 <code>split<\/code> \u65b9\u6cd5\u7684\u66f4\u591a\u7528\u6cd5\u548c\u5728\u4e0d\u540c\u573a\u666f\u4e0b\u7684\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u57fa\u672c\u7528\u6cd5<\/h3>\n<\/p>\n<p><p>\u5728\u57fa\u672c\u7528\u6cd5\u4e2d\uff0c<code>split<\/code> \u51fd\u6570\u7528\u4e8e\u5c06\u5b57\u7b26\u4e32\u6309\u7a7a\u683c\u5206\u5272\u6210\u591a\u4e2a\u5b50\u5b57\u7b26\u4e32\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u5217\u8868\u3002\u8fd9\u79cd\u7528\u6cd5\u5728\u5904\u7406\u7b80\u5355\u7684\u6587\u672c\u5206\u5272\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><h4>\u7a7a\u683c\u5206\u5272<\/h4>\n<\/p>\n<p><p>\u5f53\u4e0d\u6307\u5b9a\u4efb\u4f55\u53c2\u6570\u65f6\uff0c<code>split<\/code> \u5c06\u9ed8\u8ba4\u4f7f\u7528\u7a7a\u683c\u4f5c\u4e3a\u5206\u9694\u7b26\uff0c\u5e76\u4e14\u4f1a\u5ffd\u7565\u8fde\u7eed\u7684\u7a7a\u683c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">sentence = &quot;Python  is   easy to learn&quot;<\/p>\n<p>words = sentence.split()<\/p>\n<p>print(words)  # \u8f93\u51fa: [&#39;Python&#39;, &#39;is&#39;, &#39;easy&#39;, &#39;to&#39;, &#39;learn&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u6307\u5b9a\u5206\u9694\u7b26<\/h4>\n<\/p>\n<p><p>\u9664\u4e86\u4f7f\u7528\u9ed8\u8ba4\u7684\u7a7a\u683c\u5206\u9694\u7b26\u4e4b\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u6307\u5b9a\u81ea\u5b9a\u4e49\u7684\u5206\u9694\u7b26\uff0c\u4f8b\u5982\u9017\u53f7\u3001\u5206\u53f7\u6216\u5176\u4ed6\u7b26\u53f7\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = &quot;one,two,three,four&quot;<\/p>\n<p>items = data.split(&#39;,&#39;)<\/p>\n<p>print(items)  # \u8f93\u51fa: [&#39;one&#39;, &#39;two&#39;, &#39;three&#39;, &#39;four&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u5206\u5272\u9650\u5236<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u53ea\u60f3\u5206\u5272\u5b57\u7b26\u4e32\u7684\u524d\u51e0\u4e2a\u90e8\u5206\uff0c\u8fd9\u65f6\u53ef\u4ee5\u4f7f\u7528 <code>split<\/code> \u65b9\u6cd5\u7684\u7b2c\u4e8c\u4e2a\u53c2\u6570 <code>maxsplit<\/code>\u3002<code>maxsplit<\/code> \u53c2\u6570\u7528\u4e8e\u9650\u5236\u5206\u5272\u6b21\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;apple,banana,cherry,dates&quot;<\/p>\n<h2><strong>\u4ec5\u5206\u5272\u4e00\u6b21<\/strong><\/h2>\n<p>fruits = text.split(&#39;,&#39;, 1)<\/p>\n<p>print(fruits)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;banana,cherry,dates&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u884c\u5206\u5272<\/h3>\n<\/p>\n<p><p>\u5728\u5904\u7406\u591a\u884c\u5b57\u7b26\u4e32\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 <code>split<\/code> \u65b9\u6cd5\u7ed3\u5408\u6362\u884c\u7b26 <code>\\n<\/code> \u6765\u5206\u5272\u884c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">multiline_text = &quot;&quot;&quot;Line1<\/p>\n<p>Line2<\/p>\n<p>Line3&quot;&quot;&quot;<\/p>\n<p>lines = multiline_text.split(&#39;\\n&#39;)<\/p>\n<p>print(lines)  # \u8f93\u51fa: [&#39;Line1&#39;, &#39;Line2&#39;, &#39;Line3&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u4e0e\u5176\u4ed6\u65b9\u6cd5\u7ed3\u5408\u4f7f\u7528<\/h3>\n<\/p>\n<p><p><code>split<\/code> \u65b9\u6cd5\u5e38\u5e38\u4e0e\u5176\u4ed6\u5b57\u7b26\u4e32\u65b9\u6cd5\u7ed3\u5408\u4f7f\u7528\uff0c\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5904\u7406\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><h4><code>split<\/code> \u4e0e <code>strip<\/code><\/h4>\n<\/p>\n<p><p><code>strip<\/code> \u65b9\u6cd5\u7528\u4e8e\u53bb\u9664\u5b57\u7b26\u4e32\u9996\u5c3e\u7684\u7a7a\u767d\u5b57\u7b26\uff0c\u7ed3\u5408 <code>split<\/code> \u53ef\u4ee5\u786e\u4fdd\u5206\u5272\u540e\u7684\u5b57\u7b26\u4e32\u6ca1\u6709\u591a\u4f59\u7684\u7a7a\u767d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;  apple, banana , cherry &quot;<\/p>\n<p>cleaned_items = [item.strip() for item in text.split(&#39;,&#39;)]<\/p>\n<p>print(cleaned_items)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4><code>split<\/code> \u4e0e <code>join<\/code><\/h4>\n<\/p>\n<p><p><code>join<\/code> \u65b9\u6cd5\u7528\u4e8e\u5c06\u5217\u8868\u4e2d\u7684\u5143\u7d20\u8fde\u63a5\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c<code>split<\/code> \u548c <code>join<\/code> \u53ef\u4ee5\u7ec4\u5408\u7528\u4e8e\u5b57\u7b26\u4e32\u7684\u62c6\u5206\u4e0e\u91cd\u7ec4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">words = &quot;apple banana cherry&quot;<\/p>\n<h2><strong>\u5148\u5206\u5272\u540e\u91cd\u7ec4<\/strong><\/h2>\n<p>reversed_text = &#39; &#39;.join(words.split()[::-1])<\/p>\n<p>print(reversed_text)  # \u8f93\u51fa: &#39;cherry banana apple&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u5904\u7406\u7279\u6b8a\u5b57\u7b26<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5b57\u7b26\u4e32\u4e2d\u53ef\u80fd\u5305\u542b\u7279\u6b8a\u5b57\u7b26\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5f71\u54cd <code>split<\/code> \u7684\u6b63\u5e38\u5206\u5272\u3002\u8fd9\u65f6\u9700\u8981\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>text = &quot;apple;banana|cherry:dates&quot;<\/p>\n<h2><strong>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u591a\u91cd\u5206\u9694\u7b26\u5206\u5272<\/strong><\/h2>\n<p>items = re.split(r&#39;[;|:]&#39;, text)<\/p>\n<p>print(items)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;, &#39;dates&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><h4>1\u3001\u6570\u636e\u89e3\u6790<\/h4>\n<\/p>\n<p><p>\u5728\u6570\u636e\u89e3\u6790\u4e2d\uff0c<code>split<\/code> \u65b9\u6cd5\u53ef\u4ee5\u7528\u4e8e\u89e3\u6790\u7ed3\u6784\u5316\u6570\u636e\uff0c\u4f8b\u5982CSV\u6587\u4ef6\u4e2d\u7684\u884c\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">csv_data = &quot;name,age,city\\nJohn,23,New York\\nJane,30,Los Angeles&quot;<\/p>\n<p>rows = csv_data.split(&#39;\\n&#39;)<\/p>\n<p>for row in rows:<\/p>\n<p>    columns = row.split(&#39;,&#39;)<\/p>\n<p>    print(columns)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u65e5\u5fd7\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u5728\u65e5\u5fd7\u5904\u7406\u5e94\u7528\u4e2d\uff0c<code>split<\/code> \u65b9\u6cd5\u53ef\u7528\u4e8e\u5206\u5272\u548c\u63d0\u53d6\u65e5\u5fd7\u6587\u4ef6\u4e2d\u7684\u91cd\u8981\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">log_line = &quot;ERROR 2023-11-01 10:00:00 - An error occurred&quot;<\/p>\n<p>parts = log_line.split(&#39; - &#39;)<\/p>\n<p>log_level, timestamp, message = parts[0].split()[0], &#39; &#39;.join(parts[0].split()[1:]), parts[1]<\/p>\n<p>print(f&quot;Level: {log_level}, Timestamp: {timestamp}, Message: {message}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u7684\u8be6\u7ec6\u8bf4\u660e\u548c\u5b9e\u4f8b\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u51fa\uff0cPython\u4e2d\u7684<code>split<\/code>\u65b9\u6cd5\u975e\u5e38\u7075\u6d3b\u4e14\u529f\u80fd\u5f3a\u5927\uff0c\u80fd\u591f\u7528\u4e8e\u591a\u79cd\u5b57\u7b26\u4e32\u5206\u5272\u4efb\u52a1\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u5904\u7406\u6587\u672c\u6570\u636e\u3002\u638c\u63e1<code>split<\/code>\u65b9\u6cd5\u7684\u4f7f\u7528\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u5347\u5904\u7406\u5b57\u7b26\u4e32\u6570\u636e\u7684\u80fd\u529b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528split\u65b9\u6cd5\u8fdb\u884c\u5b57\u7b26\u4e32\u5206\u5272\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0csplit()\u65b9\u6cd5\u662f\u5b57\u7b26\u4e32\u5bf9\u8c61\u7684\u4e00\u4e2a\u5185\u7f6e\u65b9\u6cd5\uff0c\u7528\u4e8e\u5c06\u5b57\u7b26\u4e32\u5206\u5272\u6210\u591a\u4e2a\u5b50\u5b57\u7b26\u4e32\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5b83\u4f1a\u6839\u636e\u7a7a\u683c\u8fdb\u884c\u5206\u5272\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u793a\u4f8b\u6765\u4e86\u89e3\u5982\u4f55\u4f7f\u7528\u5b83\uff1a<\/p>\n<pre><code class=\"language-python\">text = &quot;Hello World&quot;\nresult = text.split()\nprint(result)  # \u8f93\u51fa: [&#39;Hello&#39;, &#39;World&#39;]\n<\/code><\/pre>\n<p>\u5982\u679c\u60a8\u60f3\u8981\u6839\u636e\u7279\u5b9a\u5b57\u7b26\u8fdb\u884c\u5206\u5272\uff0c\u53ef\u4ee5\u5c06\u8be5\u5b57\u7b26\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9split()\u65b9\u6cd5\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">csv_data = &quot;name,age,city&quot;\nresult = csv_data.split(&quot;,&quot;)\nprint(result)  # \u8f93\u51fa: [&#39;name&#39;, &#39;age&#39;, &#39;city&#39;]\n<\/code><\/pre>\n<p><strong>split\u65b9\u6cd5\u7684\u53c2\u6570\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>split()\u65b9\u6cd5\u53ef\u4ee5\u63a5\u6536\u4e24\u4e2a\u53c2\u6570\uff1aseparator\u548cmaxsplit\u3002separator\u662f\u60a8\u5e0c\u671b\u4f7f\u7528\u7684\u5206\u9694\u7b26\uff0cmaxsplit\u662f\u60a8\u5e0c\u671b\u5206\u5272\u7684\u6700\u5927\u6b21\u6570\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u53ea\u60f3\u5206\u5272\u4e00\u6b21\uff0c\u53ef\u4ee5\u8fd9\u6837\u505a\uff1a<\/p>\n<pre><code class=\"language-python\">text = &quot;apple orange banana&quot;\nresult = text.split(&quot; &quot;, 1)\nprint(result)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;orange banana&#39;]\n<\/code><\/pre>\n<p>\u5982\u679c\u4e0d\u6307\u5b9amaxsplit\uff0csplit()\u5c06\u4f1a\u5206\u5272\u6240\u6709\u5339\u914d\u7684\u5206\u9694\u7b26\u3002<\/p>\n<p><strong>\u5728\u5904\u7406\u590d\u6742\u5b57\u7b26\u4e32\u65f6\uff0c\u4f7f\u7528split\u7684\u6700\u4f73\u5b9e\u8df5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728\u5904\u7406\u590d\u6742\u6216\u4e0d\u89c4\u5219\u7684\u5b57\u7b26\u4e32\u65f6\uff0c\u4f7f\u7528split()\u65f6\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u6700\u4f73\u5b9e\u8df5\u3002\u9996\u5148\uff0c\u786e\u4fdd\u60a8\u77e5\u9053\u5206\u9694\u7b26\u662f\u4ec0\u4e48\uff0c\u6709\u65f6\u5b57\u7b26\u4e32\u4e2d\u7684\u591a\u4e2a\u7a7a\u683c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u610f\u5916\u7684\u7ed3\u679c\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528strip()\u65b9\u6cd5\u6765\u6e05\u9664\u5b57\u7b26\u4e32\u4e24\u7aef\u7684\u7a7a\u767d\uff0c\u786e\u4fdd\u5206\u5272\u7684\u51c6\u786e\u6027\u3002\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">text = &quot;   Hello   World   &quot;\nresult = text.strip().split()\nprint(result)  # \u8f93\u51fa: [&#39;Hello&#39;, &#39;World&#39;]\n<\/code><\/pre>\n<p>\u53e6\u5916\uff0c\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u5206\u5272\u9700\u6c42\uff0c\u60a8\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u7684split\u65b9\u6cd5\uff0c\u8fd9\u6837\u53ef\u4ee5\u6839\u636e\u66f4\u590d\u6742\u7684\u6a21\u5f0f\u8fdb\u884c\u5206\u5272\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0csplit \u662f\u4e00\u4e2a\u5e38\u7528\u7684\u5b57\u7b26\u4e32\u65b9\u6cd5\uff0c\u7528\u4e8e\u5c06\u5b57\u7b26\u4e32\u62c6\u5206\u4e3a\u5b50\u5b57\u7b26\u4e32\u5217\u8868\u3002split \u65b9\u6cd5\u4e3b\u8981\u7528\u4e8e [&hellip;]","protected":false},"author":3,"featured_media":937853,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937852"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=937852"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937852\/revisions"}],"predecessor-version":[{"id":937854,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937852\/revisions\/937854"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/937853"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=937852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=937852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=937852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}