{"id":17867,"date":"2021-08-16T19:14:25","date_gmt":"2021-08-16T13:44:25","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=17867"},"modified":"2021-08-16T19:14:27","modified_gmt":"2021-08-16T13:44:27","slug":"python-trim-first-and-last-character-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/","title":{"rendered":"Python trim first and last character | Example code"},"content":{"rendered":"\n<p>Use the <a href=\"https:\/\/tutorial.eyehunts.com\/python\/understanding-slice-notation-python-use-an-example\/\">slice notation<\/a> <code>[ ]<\/code> with <code>1:-1<\/code> as an argument to trim the first and last character. Where<strong> 1<\/strong> represents the second character index (included) and <strong>-1<\/strong> represents the last character index (excluded).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>string&#91;1:-1]<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Example trim the first and last character from a string in Python<\/strong><\/h2>\n\n\n\n<p>Simple example code.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>str1 = \"Hello world!\"\r\n\r\nprint(str1&#91;1:-1])<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>: <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"252\" height=\"132\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg?resize=252%2C132&#038;ssl=1\" alt=\"Python trim first and last character\" class=\"wp-image-18058\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Note<\/strong>: There are two types of indexes in python:-<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Left to right or<strong> Positive Index<\/strong><\/li><li>Right to left or <strong>Negative Index<\/strong><\/li><\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Do comment if you have any doubts and suggestions on this Python string trim topic.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note:<\/strong> IDE:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.jetbrains.com\/pycharm\/\" target=\"_blank\">PyCharm<\/a>&nbsp;2021.3.3 (Community Edition)<\/p><p>Windows 10<\/p><p><strong>Python 3.10.1<\/strong><\/p><p>All<strong>&nbsp;Python Examples&nbsp;are in&nbsp;Python&nbsp;3<\/strong>, so Maybe its different from python 2 or upgraded versions.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Use the slice notation [ ] with 1:-1 as an argument to trim the first and last character. Where 1 represents the second character index (included) and -1 represents the last character index (excluded). Example trim the first and last character from a string in Python Simple example code. Output: Note: There are two types&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python trim first and last character | Example code<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[30],"tags":[164,168],"post_series":[],"class_list":["post-17867","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-char","tag-python-trim"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python trim first and last character | Example code - EyeHunts<\/title>\n<meta name=\"description\" content=\"Use the slice notation [ ] with 1:-1 as an argument to trim the first and last character. Where 1 represents the second character index...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python trim first and last character | Example code - EyeHunts\" \/>\n<meta property=\"og:description\" content=\"Use the slice notation [ ] with 1:-1 as an argument to trim the first and last character. Where 1 represents the second character index...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-16T13:44:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-16T13:44:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/\",\"name\":\"Python trim first and last character | Example code - EyeHunts\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg\",\"datePublished\":\"2021-08-16T13:44:25+00:00\",\"dateModified\":\"2021-08-16T13:44:27+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"Use the slice notation [ ] with 1:-1 as an argument to trim the first and last character. Where 1 represents the second character index...\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg?fit=252%2C132&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg?fit=252%2C132&ssl=1\",\"width\":252,\"height\":132},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python trim first and last character | Example code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\",\"name\":\"Tutorial\",\"description\":\"By EyeHunts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"caption\":\"Rohit\"},\"description\":\"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.\",\"url\":\"https:\/\/tutorial.eyehunts.com\/author\/rohit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python trim first and last character | Example code - EyeHunts","description":"Use the slice notation [ ] with 1:-1 as an argument to trim the first and last character. Where 1 represents the second character index...","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:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python trim first and last character | Example code - EyeHunts","og_description":"Use the slice notation [ ] with 1:-1 as an argument to trim the first and last character. Where 1 represents the second character index...","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-08-16T13:44:25+00:00","article_modified_time":"2021-08-16T13:44:27+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/","name":"Python trim first and last character | Example code - EyeHunts","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg","datePublished":"2021-08-16T13:44:25+00:00","dateModified":"2021-08-16T13:44:27+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"Use the slice notation [ ] with 1:-1 as an argument to trim the first and last character. Where 1 represents the second character index...","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg?fit=252%2C132&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-trim-first-and-last-character.jpg?fit=252%2C132&ssl=1","width":252,"height":132},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-first-and-last-character-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python trim first and last character | Example code"}]},{"@type":"WebSite","@id":"https:\/\/tutorial.eyehunts.com\/#website","url":"https:\/\/tutorial.eyehunts.com\/","name":"Tutorial","description":"By EyeHunts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/","url":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","caption":"Rohit"},"description":"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.","url":"https:\/\/tutorial.eyehunts.com\/author\/rohit\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":8211,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-rstrip-function-trim-string-from-right\/","url_meta":{"origin":17867,"position":0},"title":"Python rstrip Function | trim string from right","author":"Rohit","date":"April 26, 2020","format":false,"excerpt":"Python rstrip function is used to remove trailing characters (characters at the end of a string). Whitespace is the default trailing character to remove if no character is passed as a parameter. If you want to remove (trim string):- All leading White-space - use Python lstrip Function.Leading and trailing spaces-\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":17894,"url":"https:\/\/tutorial.eyehunts.com\/python\/write-a-python-program-to-print-the-index-of-the-character-in-a-string\/","url_meta":{"origin":17867,"position":1},"title":"Write a Python program to print the index of the character in a string","author":"Rohit","date":"August 12, 2021","format":false,"excerpt":"Use the for-loop and enumerate function to print the index of the character in a string. Python program to print the index of the character in a string Example Simple example code. str1 = \"PYTHON\" for index, char in enumerate(str1): print(char, \"position at\", index) Output: Do comment if you have\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python program to print index of character in string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-program-to-print-index-of-character-in-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8197,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-string-python-string-strip-function\/","url_meta":{"origin":17867,"position":2},"title":"Python trim string | Python string strip() function","author":"Rohit","date":"April 24, 2020","format":false,"excerpt":"You can trim string in python using a strip() function. It removes the leading and trailing spaces of a given String. There are 2 more methods \"lstrip() and rstrip()\" that can use to remove leading or trailing whitespaces. Note: default whitespace characters will remove, you can remove other char also.\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-trim-string-string-strip-function-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-trim-string-string-strip-function-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-trim-string-string-strip-function-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-trim-string-string-strip-function-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":17904,"url":"https:\/\/tutorial.eyehunts.com\/python\/write-a-python-program-to-find-the-first-repeated-character-in-a-given-string\/","url_meta":{"origin":17867,"position":3},"title":"Write a python program to find the first repeated character in a given string","author":"Rohit","date":"August 12, 2021","format":false,"excerpt":"Use enumerate function, for loop and if statement to find the first repeated character in a given string. Python program to find the first repeated character in a given string Examples Simple example code finds the character which occurs more than once. If there is no repeating character \"None\". def\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python Find the first repeated character in a given string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-Find-the-first-repeated-character-in-a-given-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17869,"url":"https:\/\/tutorial.eyehunts.com\/python\/get-last-two-characters-of-string-python-example-code\/","url_meta":{"origin":17867,"position":4},"title":"Get last two characters of string Python | Example code","author":"Rohit","date":"August 16, 2021","format":false,"excerpt":"Use slice notation [length-2:] to Get the last two characters of string Python. For it, you have to get the length of string and minus 2 char. string [length-2:] Example Get last two characters of string in Python Simple example code. It will slice the starting char excluding the last\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Get last two characters of string Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Get-last-two-characters-of-string-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16868,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-if-string-equals-example-code\/","url_meta":{"origin":17867,"position":5},"title":"Python if string equals | Example code","author":"Rohit","date":"July 30, 2021","format":false,"excerpt":"Use the equality (\u2018==\u2019) operator to check if strings are equal or not. It will work case-sensitive manner i.e. uppercase letters and lowercase letters would be treated differently. string1 == string2 Python '==' operator compares the string in a character-by-character manner and returns True if the two strings are equal,\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python if string equals","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-if-string-equals.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/17867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/comments?post=17867"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/17867\/revisions"}],"predecessor-version":[{"id":18060,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/17867\/revisions\/18060"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=17867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=17867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=17867"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=17867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}