{"id":11906,"date":"2020-10-29T10:40:48","date_gmt":"2020-10-29T17:40:48","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=11906"},"modified":"2023-12-01T04:03:28","modified_gmt":"2023-12-01T12:03:28","slug":"split-and-slice-in-javascript","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/","title":{"rendered":"JavaScript Split: A Step-By-Step Guide"},"content":{"rendered":"\n<p><em>The JavaScript split() method divides a string into an array of substrings. These substrings are added to a new array. split() returns the new array of substrings.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>When you\u2019re programming, it\u2019s common to see cases where you need to get some text from a larger string. Say you want to get a user\u2019s first and last name from one string separately. How would you go about getting that information from a string?<\/p>\n\n\n\n<p>That&#8217;s where the JavaScript split() method comes in. split() divides a string into a list of substrings. In this guide, we&#8217;re going to discuss how to use the split() method, with reference to examples.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>String Refresher<\/strong><\/h2>\n\n\n\n<p>Before we start looking at the <em>split()<\/em> and <em>slice()<\/em> functions, we should remind ourselves how strings work. Strings are a sequence of one or more characters that may include letters, symbols, or numbers.\n\n<\/p>\n\n\n\n<p>Each character in a string can be accessed using its index number, starting with 0. Let\u2019s use an example to illustrate how a string is indexed:<\/p>\n\n\n\n<table class=\"wp-block-table course-info-table\"><tbody><tr><td>H<\/td><td>e<\/td><td>l<\/td><td>l<\/td><td>o<\/td><td><br><\/td><td>t<\/td><td>h<\/td><td>e<\/td><td>r<\/td><td>e<\/td><\/tr><tr><td>0<\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>10<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>As you can see, the first character in the string is \u201cH,\u201d which has an index value of \u201c0\u201d. The last character is \u201ce,\u201d which has an index value of \u201c10.\u201d Note that the space between the two words also has an index value.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>JavaScript Split<\/strong><\/h2>\n\n\n\n<p>The JavaScript string split() method splits up a string into multiple substrings. These substrings are stored in a new array. The original string is divided based on a specified separator character, like a space.<\/p>\n\n\n\n<p>Let&#8217;s look at the syntax for the JavaScript string split() method:<\/p>\n\n\n\n<p>var new_list = text.split(character, limit);<\/p>\n\n\n\n<p>The split() method is added to the end of our &#8220;text&#8221; variable. Our text variable is split based on the separator character we specify. We assign the result of the split() method to the <a href=\"https:\/\/careerkarma.com\/blog\/javascript-variables\/\">JavaScript variable new_list<\/a>.<\/p>\n\n\n\n<p>The <em>limit<\/em> parameter specifies how many <a href=\"https:\/\/careerkarma.com\/blog\/how-to-use-substring-in-javascript\/\">JavaScript substrings<\/a> you want to include in your final array.<\/p>\n\n\n\n<p>You must assign the output of the split() method to a variable. This is because split() creates a new list. It does not modify your existing string.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">JavaScript Split String Example<\/h2>\n\n\n\n<p>Say that a user has given us their first and last names. We store this information in one string. To get the user&#8217;s first and last names separately, we could use the split() method.<\/p>\n\n\n\n<p>For example, when a user signs in to their account, we may want to say \u201cHello, [first name]\u201d instead of displaying their full name.<\/p>\n\n\n\n<p>We&#8217;re going to use a white space character (which is the space character) to separate out our string:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>var fullName = \u201cForename Surname\u201d;\nvar fullNameSplit = fullName.split(\u201c \u201c);\n\nconsole.log(fullNameSplit);<\/pre><\/div>\n\n\n\n<p>This code returns the following:<\/p>\n\n\n\n<p><code>[\u201cForename\u201d, \u201cSurname\u201d]<\/code><\/p>\n\n\n\n<p>The <em>split()<\/em> function has split our string into an array of substrings. Now, we can access each string in the <a href=\"https:\/\/careerkarma.com\/blog\/javascript-array\/\">JavaScript array object<\/a> using an index number. For example:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>fullNameSplit[1];<\/pre><\/div>\n\n\n\n<p>This code returns:<\/p>\n\n\n\n<p><code>Surname<\/code><\/p>\n\n\n\n<p>The split() method returns an array from which we can retrieve individual values. Each array element corresponds with a word in our string. We retrieved the value with the index position 1 from our array.<\/p>\n\n\n\n<iframe loading=\"lazy\" src=\"https:\/\/repl.it\/@careerkarma\/How-to-Use-Split-and-Slice-in-JavaScript?lite=true\" width=\"100%\" height=\"400px\" frameborder=\"0\"><\/iframe>\n<br>\n<br>\n\n\n\n<h2 class=\"wp-block-heading\">Split JavaScript String into One Array<\/h2>\n\n\n\n<p>You can use the split() method to move the contents of a string into an array. Consider the following code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>var name_as_list = name.split();\nconsole.log(name_as_list);<\/pre><\/div>\n\n\n\n<p>Our code returns: &#8220;Forename Surname&#8221;. We did not specify a separator character which means that multiple substrings are not created. We now have an element consisting of the entire string stored in the variable name_as_list.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>The split() method divides a string into a list of substrings. It is used to make individual words or values in a string accessible by indexing. split() can separate out a string by any character, such as a white space or a comma.<\/p>\n\n\n\n<p>If you&#8217;re looking to learn more about JavaScript, read our guide on the <a href=\"https:\/\/careerkarma.com\/blog\/tutorial-for-javascript-beginners\/\">best tutorials for JavaScript beginners<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"The JavaScript split() method divides a string into an array of substrings. These substrings are added to a new array. split() returns the new array of substrings. When you\u2019re programming, it\u2019s common to see cases where you need to get some text from a larger string. Say you want to get a user\u2019s first and&hellip;","protected":false},"author":240,"featured_media":11955,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11933],"tags":[12687],"class_list":{"0":"post-11906","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-javascript","8":"tag-tutorial"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"JavaScript","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>JavaScript Split: A Step-By-Step Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"Strings are a key data type in JavaScript, and they can be divided into multiple parts. Learn how in this Career Karma article.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Split: A Step-By-Step Guide\" \/>\n<meta property=\"og:description\" content=\"Strings are a key data type in JavaScript, and they can be divided into multiple parts. Learn how in this Career Karma article.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-29T17:40:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:03:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"JavaScript Split: A Step-By-Step Guide\",\"datePublished\":\"2020-10-29T17:40:48+00:00\",\"dateModified\":\"2023-12-01T12:03:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/\"},\"wordCount\":644,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg\",\"keywords\":[\"tutorial\"],\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/\",\"name\":\"JavaScript Split: A Step-By-Step Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg\",\"datePublished\":\"2020-10-29T17:40:48+00:00\",\"dateModified\":\"2023-12-01T12:03:28+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"Strings are a key data type in JavaScript, and they can be divided into multiple parts. Learn how in this Career Karma article.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg\",\"width\":1200,\"height\":675,\"caption\":\"JavaScript Split and Slice\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript\",\"item\":\"https:\/\/careerkarma.com\/blog\/javascript\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Split: A Step-By-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JavaScript Split: A Step-By-Step Guide | Career Karma","description":"Strings are a key data type in JavaScript, and they can be divided into multiple parts. Learn how in this Career Karma article.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Split: A Step-By-Step Guide","og_description":"Strings are a key data type in JavaScript, and they can be divided into multiple parts. Learn how in this Career Karma article.","og_url":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-10-29T17:40:48+00:00","article_modified_time":"2023-12-01T12:03:28+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"JavaScript Split: A Step-By-Step Guide","datePublished":"2020-10-29T17:40:48+00:00","dateModified":"2023-12-01T12:03:28+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/"},"wordCount":644,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg","keywords":["tutorial"],"articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/","url":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/","name":"JavaScript Split: A Step-By-Step Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg","datePublished":"2020-10-29T17:40:48+00:00","dateModified":"2023-12-01T12:03:28+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"Strings are a key data type in JavaScript, and they can be divided into multiple parts. Learn how in this Career Karma article.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/javascript-split-slice.jpg","width":1200,"height":675,"caption":"JavaScript Split and Slice"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/split-and-slice-in-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JavaScript","item":"https:\/\/careerkarma.com\/blog\/javascript\/"},{"@type":"ListItem","position":3,"name":"JavaScript Split: A Step-By-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/11906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=11906"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/11906\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/11955"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=11906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=11906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=11906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}