{"id":22019,"date":"2021-11-24T16:58:34","date_gmt":"2021-11-24T11:28:34","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=22019"},"modified":"2023-06-06T17:28:23","modified_gmt":"2023-06-06T11:58:23","slug":"changing-a-character-in-a-string-python-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/","title":{"rendered":"Changing a character in a string Python | Example code"},"content":{"rendered":"\n<p>Use the Python string <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-string-replace-function-example\/\">replace() function<\/a> to change characters in a string. It will change all occurrences of a character old with the desired character new.<\/p>\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 how to change a character in a string Python<\/strong><\/h2>\n\n\n\n<p>Simple example code changing multiple occurrences of the character anywhere in the given string.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a_string = \"axayza Hello\"\n\nres = a_string.replace(\"a\", \"T\")\n\nprint(res)<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"233\" height=\"120\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.jpg?resize=233%2C120&#038;ssl=1\" alt=\"Changing a character in a string Python\" class=\"wp-image-22729\"\/><\/figure><\/div>\n\n\n<p><strong>Using slicing and concatenation:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>s = \"Hello, world!\"\r\nindex_to_change = 7\r\nnew_character = 'W'\r\n\r\nmodified_string = s&#91;:index_to_change] + new_character + s&#91;index_to_change + 1:]\r\nprint(modified_string)\r<\/code><\/pre>\n\n\n\n<p><strong>Converting the string to a list, modifying the list, and then converting it back to a string:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>s= \"Hello, world!\"\r\nindex_to_change = 7\r\nnew_character = 'W'\r\n\r\nstring_list = list(s)\r\nstring_list&#91;index_to_change] = new_character\r\nmodified_string = ''.join(string_list)\r\nprint(modified_string)\r<\/code><\/pre>\n\n\n\n<p>Remember that strings are immutable, so each of these methods creates a new string with the desired change rather than modifying the original string directly.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How to change one character in a string in Python<\/strong>?<\/h3>\n\n\n\n<p><strong>Answer<\/strong>: Use list indexing to modify the one character in a string in Python. After change use join(iterable) with the empty string &#8220;&#8221; as a string and the modified list as iterable to construct a modified string.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a_string = \"zbc\"\n\nl = list(a_string)\nl&#91;0] = \"a\"\nres = \"\".join(l)\n\nprint(res)\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>: abc<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Comment if you have any doubts or suggestions on this Python char 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 Python string replace() function to change characters in a string. It will change all occurrences of a character old with the desired character new. Example how to change a character in a string Python Simple example code changing multiple occurrences of the character anywhere in the given string. Output: Using slicing and concatenation:&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Changing a character in a string Python | 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,98],"post_series":[],"class_list":["post-22019","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-char","tag-python-string"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Changing a character in a string Python | Example code<\/title>\n<meta name=\"description\" content=\"Use Python string replace() function to change characters in a string. It will change all occurrences of a character old with the new char..\" \/>\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\/changing-a-character-in-a-string-python-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changing a character in a string Python | Example code\" \/>\n<meta property=\"og:description\" content=\"Use Python string replace() function to change characters in a string. It will change all occurrences of a character old with the new char..\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-24T11:28:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-06T11:58:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/\",\"name\":\"Changing a character in a string Python | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.jpg\",\"datePublished\":\"2021-11-24T11:28:34+00:00\",\"dateModified\":\"2023-06-06T11:58:23+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"Use Python string replace() function to change characters in a string. It will change all occurrences of a character old with the new char..\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.jpg?fit=233%2C120&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.jpg?fit=233%2C120&ssl=1\",\"width\":233,\"height\":120},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Changing a character in a string Python | 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":"Changing a character in a string Python | Example code","description":"Use Python string replace() function to change characters in a string. It will change all occurrences of a character old with the new char..","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\/changing-a-character-in-a-string-python-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Changing a character in a string Python | Example code","og_description":"Use Python string replace() function to change characters in a string. It will change all occurrences of a character old with the new char..","og_url":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-11-24T11:28:34+00:00","article_modified_time":"2023-06-06T11:58:23+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/","name":"Changing a character in a string Python | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.jpg","datePublished":"2021-11-24T11:28:34+00:00","dateModified":"2023-06-06T11:58:23+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"Use Python string replace() function to change characters in a string. It will change all occurrences of a character old with the new char..","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.jpg?fit=233%2C120&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Changing-a-character-in-a-string-Python.jpg?fit=233%2C120&ssl=1","width":233,"height":120},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/changing-a-character-in-a-string-python-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Changing a character in a string Python | 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":22734,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-the-first-character-in-string-example-code\/","url_meta":{"origin":22019,"position":0},"title":"Python replace the first character in string | Example code","author":"Rohit","date":"November 25, 2021","format":false,"excerpt":"Use the Python built-in replace() function to replace the first character in the string. The str.replace takes 3 parameters old, new, and count (optional). Where count indicates the number of times you want to replace the old substring with the new substring. str.replace(old, new[, count]) Example replace the first character\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python replace the first character in string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-the-first-character-in-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22460,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-count-function\/","url_meta":{"origin":22019,"position":1},"title":"Python count() function","author":"Rohit","date":"September 22, 2022","format":false,"excerpt":"Python count() function is used to count the frequency of the character or a substring in a string. This method returns the total count of a given element in a string. string.count(substring\/character, start=, end=) You can specify the start and end index where you want the search to begin. Python\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python count() function","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2022\/09\/Python-count-function.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17520,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-string-example-code\/","url_meta":{"origin":22019,"position":2},"title":"Python replace character in string | Example code","author":"Rohit","date":"August 4, 2021","format":false,"excerpt":"Use the string replaces() method to replace characters in a given string using Python programming. This method will replace all occurrences of a character with a new character. string.replace(old, new, count) The count is Optional Parameters used to a number of times you want to replace the old char (substring)\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python replace character in string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-replace-character-in-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17518,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-find-character-in-the-string-example-code\/","url_meta":{"origin":22019,"position":3},"title":"Python find character in the string | Example code","author":"Rohit","date":"August 4, 2021","format":false,"excerpt":"Use String find() method to Python find character in the string in Python. The method will return the index value if the character occurs in a string or a substring of string if starting index beg and ending index end are given. str.find(sub,start,end) An end parameter is an option\u2212 This\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python find character in the string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-find-character-in-the-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17769,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-cut-string-before-character-example-code\/","url_meta":{"origin":22019,"position":4},"title":"Python cut string before character | Example code","author":"Rohit","date":"August 10, 2021","format":false,"excerpt":"Use the split() method to cut string before the character in Python. The split() method splits a string into a list. After listing into the list take only 0 indexed values. Python cut string before the character Example Simple example code cut all chars of a string before a \"and\"\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python cut string before character","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-cut-string-before-character.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17514,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-find-all-occurrences-in-the-string-example-code\/","url_meta":{"origin":22019,"position":5},"title":"Python find all occurrences in the string | Example code","author":"Rohit","date":"November 4, 2021","format":false,"excerpt":"Simply use the powerful regular expressions with list comprehension + start() + finditer() method to find all occurrences in the string in Python. Example find all occurrences in a string Simple example code import re s = 'Test Python Test Code Test' res = [m.start() for m in re.finditer('Test', s)]\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python find all occurrences in the string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-find-all-occurrences-in-the-string.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\/22019","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=22019"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22019\/revisions"}],"predecessor-version":[{"id":39980,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22019\/revisions\/39980"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=22019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=22019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=22019"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=22019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}