{"id":1735,"date":"2022-06-11T02:56:35","date_gmt":"2022-06-11T02:56:35","guid":{"rendered":"https:\/\/usemynotes.com\/?p=1735"},"modified":"2024-10-27T20:34:54","modified_gmt":"2024-10-27T15:04:54","slug":"python-strings","status":"publish","type":"post","link":"https:\/\/usemynotes.com\/python-strings\/","title":{"rendered":"What are Python Strings?"},"content":{"rendered":"<p>Hello guys, Let&#8217;s learn something new in Python. In this module, we will be learning What is <strong>Python Strings<\/strong>. Today we will be learning one of the most required and important topics which are very useful and helps you to work with string in Python. So let\u2019s start.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-1736 size-full\" src=\"https:\/\/usemynotes.com\/wp-content\/uploads\/2022\/06\/python-string.jpg\" alt=\"Python Strings\" width=\"904\" height=\"688\" title=\"\" srcset=\"https:\/\/usemynotes.com\/wp-content\/uploads\/2022\/06\/python-string.jpg 904w, https:\/\/usemynotes.com\/wp-content\/uploads\/2022\/06\/python-string-300x228.jpg 300w, https:\/\/usemynotes.com\/wp-content\/uploads\/2022\/06\/python-string-768x584.jpg 768w, https:\/\/usemynotes.com\/wp-content\/uploads\/2022\/06\/python-string-150x114.jpg 150w, https:\/\/usemynotes.com\/wp-content\/uploads\/2022\/06\/python-string-696x530.jpg 696w, https:\/\/usemynotes.com\/wp-content\/uploads\/2022\/06\/python-string-552x420.jpg 552w, https:\/\/usemynotes.com\/wp-content\/uploads\/2022\/06\/python-string-80x60.jpg 80w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/usemynotes.com\/python-strings\/#What_are_Python_Strings\" >What are Python Strings?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/usemynotes.com\/python-strings\/#Assigning_a_string_to_a_variable\" >Assigning a string to a variable<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/usemynotes.com\/python-strings\/#Multiline_String\" >Multiline String<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/usemynotes.com\/python-strings\/#String_As_Array\" >String As Array<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/usemynotes.com\/python-strings\/#Loop_Through_String\" >Loop Through String<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/usemynotes.com\/python-strings\/#String_Methods_In_Python\" >String Methods In Python<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/usemynotes.com\/python-strings\/#1_capitalize\" >1. capitalize():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/usemynotes.com\/python-strings\/#2_count\" >2. count():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/usemynotes.com\/python-strings\/#3_find\" >3. find():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/usemynotes.com\/python-strings\/#4_index\" >4. index():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/usemynotes.com\/python-strings\/#5_isalnum\" >5. isalnum():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/usemynotes.com\/python-strings\/#6_isalpha\" >6. isalpha():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/usemynotes.com\/python-strings\/#7_islower\" >7. islower():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/usemynotes.com\/python-strings\/#8_join\" >8. join():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/usemynotes.com\/python-strings\/#9_lower\" >9. lower():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/usemynotes.com\/python-strings\/#10_lstrip\" >10. lstrip():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/usemynotes.com\/python-strings\/#11_replace\" >11. replace():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/usemynotes.com\/python-strings\/#12_rstrip\" >12. rstrip():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/usemynotes.com\/python-strings\/#13_split\" >13. split():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/usemynotes.com\/python-strings\/#14_strip\" >14. strip():<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/usemynotes.com\/python-strings\/#15_upper\" >15. upper():<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/usemynotes.com\/python-strings\/#Write_the_Program_to_replace_a_string_in_the_middle_of_a_string_in_Python\" >Write the Program to replace a string in the middle of a string in Python<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/usemynotes.com\/python-strings\/#Convert_Integer_to_String\" >Convert Integer to String<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/usemynotes.com\/python-strings\/#How_to_store_a_long_multiline_String_in_Python\" >How to store a long multiline String in Python<\/a><\/li><\/ul><\/nav><\/div>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"What_are_Python_Strings\"><\/span><strong>What are Python Strings?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A string in Python is a word, line, or statement written inside a &#8221;(single quote) or &#8220;&#8221;(double quotes). <strong>Python Strings<\/strong> store character type values. Strings are immutable once defined and can not be altered. If you try to update the string then it will create an error.<\/p>\n<p>For eg:<br \/>\n\u2018hello\u2019 is a string and it is treated the same as &#8220;hello&#8221; both are the same in terms of Python.<br \/>\nWe can print or display strings by using the print command as<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">print(&quot;hello&quot;) \/\/ It will display hello on the screen.<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Assigning_a_string_to_a_variable\"><\/span>Assigning a string to a variable<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you want to assign a string to a variable or store a value. It can be done with the variable name followed by the equal operator(=) and then the string.<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">a=&quot;Hello&quot;\r\nprint(a)\/\/ It will print Hello on the screen.<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Multiline_String\"><\/span>Multiline String<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We can store the multiline strings in a variable by using three single quotes or three double quotes.<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">A= '''Ram is a good boy,\r\nHe plays cricket,\r\nHe dances very well.'''\r\nprint(A) \/\/it will print the multiline input on the screen.<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"String_As_Array\"><\/span>String As Array<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In Python, Strings are treated as an array of bytes representing Unicode. A bit stores a character and the whole string gets stored like this. We can access a character by specifying a variable with a location in the square bracket for which we have to fetch.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">A=&quot;Programming&quot;\r\nprint(A&#x5B;3]) \r\n\/\/it will print g because in python the first character has 0 positions.<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Loop_Through_String\"><\/span>Loop Through String<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Strings are treated as arrays so we can loop through strings as well.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">A=&quot;python&quot;\r\nfor x in A:\r\nprint(x) \/\/it will print the whole string at the end of the loop.<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"String_Methods_In_Python\"><\/span>String Methods In Python<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1_capitalize\"><\/span>1. capitalize():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It will convert the first character to upper case, and the rest to lower case.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">Text= python is GREAT!\r\nx=Text.capitalize()\r\nPrint(x)\r\nOutput: Python is great!<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"2_count\"><\/span>2. count():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It will return the count or number of times a specified value appears in the string.<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">Text=python is great, python is fun.\r\nX=Text.count(&quot;python&quot;)\r\nPrint(x)\r\nOutput: 2<\/pre>\n<p>In this we can add the start and end positions with value then it will count in between the specified position. Like Text.count(&#8220;python&#8221;,9,22)then it will return only 1.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_find\"><\/span>3. find():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It will search the string for a specified value and return the position where it was found.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text = &quot;Hello, welcome to my world.&quot;\r\nx = text.find(&quot;welcome&quot;)\r\nprint(x)\r\noutput:7<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"4_index\"><\/span>4. index():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>index() method finds the 1st occurrence of the specified value. If not found raises an exception we can pass start and end parameters which are optional if not then it will find in the whole string.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text = &quot;Hello, welcome to my world.&quot;\r\nx = text.find(&quot;e&quot;,5,10)\r\nprint(x)\r\noutput:8<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"5_isalnum\"><\/span>5. isalnum():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It returns True if all characters in the string are alphanumeric i.e alphabets(a-z) and numbers (0-9).<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">Text=&quot;Abcd 10&quot;\r\nx = txt.isalnum()\r\nprint(x)\r\nOutput: False \/\/as string contains space.<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"6_isalpha\"><\/span>6. isalpha():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It returns True if all characters in the string are alphabet.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text = &quot;Company&quot;\r\nx = text.isalpha()\r\nprint(x)\r\nOutput: True \/\/As string only contains alphabet.<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"7_islower\"><\/span>7. islower():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It returns true if all characters are in lowercase in a string.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text = &quot;company&quot;\r\nx = text.isalpha()\r\nprint(x)\r\nOutput: True<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"8_join\"><\/span>8. join():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The join() method takes all items in an iterable and joins them into one string.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">mytuple =(&quot;Jack&quot;, &quot;Jill&quot;, &quot;John&quot;)\r\nx=&quot; &quot;.join(mytuple)\r\nprint(x)\r\nOutput: Jack Jill John<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"9_lower\"><\/span>9. lower():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It converts a string into lowercase.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text= &quot;Python IS LOVE&quot;\r\nx = text.lower()\r\nprint(x)\r\nOutput: python is love<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"10_lstrip\"><\/span>10. lstrip():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This method removes any leading space or character as specified in the parameters.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text= &quot; python&quot;\r\nx=text.lstrip()\r\nprint(x)\r\nOutput: Python \/\/removes all the space on left.<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"11_replace\"><\/span>11. replace():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This method replaces a specified phrase with another specified phrase. It replaces all the occurrences of specified phrases if nothing is specified.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text = &quot;I like bananas&quot;\r\nx = text.replace(&quot;bananas&quot;, &quot;apples&quot;)\r\nprint(x)\r\nOutput: I like apples.<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"12_rstrip\"><\/span>12. rstrip():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This method removes any trailing space or character as specified in the parameters.<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text= &quot;python &quot;\r\nx=text.rstrip()\r\nprint(x)\r\nOutput: Python \/\/removes all the space in right.<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"13_split\"><\/span>13. split():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>splits a string at the specified separator and returns a list.<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text = &quot;I like python&quot;\r\nx = text.split()\r\nprint(x)\r\nOutput: &#x5B;&quot;I&quot;, &quot;like&quot;, &quot;python&quot;]<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"14_strip\"><\/span>14. strip():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Remove space from the beginning and end of the string.<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text= &quot; python &quot;\r\nx= text.strip()\r\nprint(x)\r\noutput: python<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"15_upper\"><\/span>15. upper():<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>converts the string in upper case.<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text= &quot;i like python&quot;\r\nx=text.upper()\r\nprint(x)\r\nOutput: I LIKE PYTHON<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Write_the_Program_to_replace_a_string_in_the_middle_of_a_string_in_Python\"><\/span>Write the Program to replace a string in the middle of a string in Python<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">def middle_replace(txt):\r\nli = list(txt.split(&quot; &quot;)) #convert the string to list\r\nchar= li&#x5B;(len(li)-1) \/\/2:(len(li)+2)\/\/2] #find middle word from string\r\nlist_to_string= &quot;,&quot;.join(char) #convert list to string\r\nnew_string = txt.replace(list_to_string, &quot;word&quot;) #replace middle word to give word\r\nreturn new_string\r\nword=input() #take input to replace\r\nmiddle_char(&quot;python is cool&quot;)<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Convert_Integer_to_String\"><\/span>Convert Integer to String<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To convert any integer into a string pass it in str() and it will convert its <a href=\"https:\/\/usemynotes.com\/python-data-types-and-variables\/\">data type<\/a> to a string.<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">num = 10\r\nprint(type(num)) # check and print type of num variable\r\nconverted_num = str(num) # convert the num into string\r\nprint(type(converted_num)) # check and print type converted_num variable<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"How_to_store_a_long_multiline_String_in_Python\"><\/span>How to store a long multiline String in Python<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We generally initialize a variable with a specific string.<br \/>\ntext= \u201cI like Python. <a href=\"https:\/\/usemynotes.com\/what-is-a-python-interpreter\/\">Python is an interpreted language.<\/a>\u201d<br \/>\nThis is a single-line initialization of a string.<\/p>\n<p>If you want to store the multiline string in a variable you have to use &#8221;&#8217; multiline string &#8221;&#8217; or \u201c\u201c\u201c multiline string\u201d\u201d\u201d<\/p>\n<p>For eg:<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">text = \u201c\u201c\u201cPython is fun.\r\nI like python.\r\nPython is love\u201d\u201d\u201d<\/pre>\n<p>#this will store all lines in text.<\/p>\n<p>I hope this may help you to know more about <strong>strings in Python<\/strong>. For better understanding please try it out and see our other blogs. Happy learning.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello guys, Let&#8217;s learn something new in Python. In this module, we will be learning What is Python Strings. Today we will be learning one of the most required and important topics which are very useful and helps you to work with string in Python. So let\u2019s start. What are Python Strings? A string in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1736,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":{"0":"post-1735","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"_links":{"self":[{"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/posts\/1735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/comments?post=1735"}],"version-history":[{"count":0,"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/posts\/1735\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/media\/1736"}],"wp:attachment":[{"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/media?parent=1735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/categories?post=1735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/usemynotes.com\/wp-json\/wp\/v2\/tags?post=1735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}