{"id":99880,"date":"2021-02-08T15:00:00","date_gmt":"2021-02-08T13:00:00","guid":{"rendered":"https:\/\/examples.javacodegeeks.com\/?p=99880"},"modified":"2022-03-02T14:30:56","modified_gmt":"2022-03-02T12:30:56","slug":"python-string-contains-method-tutorial","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/","title":{"rendered":"Python String contains() method Tutorial"},"content":{"rendered":"<p>Hello in this tutorial, we will understand Python String contains() method.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-1-introduction\">1. Introduction<\/h2>\n<p>The contains in python is used to check whether a string contains a substring or not. A <em>substring<\/em> is the sequence of characters within a string. We will explore the below methods to check if a string contains another string or not.<\/p>\n<ul class=\"wp-block-list\">\n<li>The <code>find()<\/code> method checks if a substring is part of the string or not. If the string uses the given substring the method returns the starting index of the substring else it will return <em>-1<\/em>. It is represented by the following syntax i.e. <code>string.find(substring)<\/code><\/li>\n<li>The <code>index()<\/code> method checks if a substring is part of the string or not. If found it returns the starting index of the first occurrence of a substring and if not it generates a <code>ValueError<\/code> exception which can be handled with the help of the try-expect-else block in python. It is represented by the following syntax i.e. <code>string.index(substring)<\/code><\/li>\n<li>The <code>count()<\/code> method checks the occurrence of a substring in the string. If found it returns <em>1<\/em> otherwise <em>0<\/em>. It is represented by the following syntax i.e. <code>string.count(substring)<\/code><\/li>\n<li>The <code>replace()<\/code> method is used to replace the occurrences of a substring with a new string. It is represented by the following syntax i.e. <code>string.replace(old_word, new_word, no_of_occurences)<\/code> where <code>no_of_occurences<\/code> is an optional field that denotes the number of times you want to replace the old substring with the new substring<\/li>\n<li>The <code>in<\/code> operator checks if the substring is a part of the string or not. If present it returns <em>true<\/em> otherwise <em>false<\/em>. It is represented by the following syntax i.e. <code>substring in string<\/code><\/li>\n<li>Using the regular expression to check if the substring is a part of the string or not through the pattern matching. For this, we will use a python in-built module known as <code>re<\/code>. This module contains a method known as <code>search<\/code> which you can use to match a substring pattern<\/li>\n<li>We will use also use another python in-built module known as <code>operator<\/code>. This module contains a method known as <code>contains()<\/code> which you can use to check the presence of a substring in a string<\/li>\n<\/ul>\n<p>Let us see these different ways in action.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<h3 class=\"wp-block-heading\" id=\"h-1-1-setting-up-python\">1.1 Setting up Python<\/h3>\n<p>If someone needs to go through the Python installation on Windows, please watch <a href=\"https:\/\/www.youtube.com\/watch?v=i-MuSAwgwCU\" target=\"_blank\" rel=\"noopener\">this<\/a> link. You can download the Python from <a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noopener\">this<\/a> link.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-2-python-string-contains-tutorial\">2. Python String contains() Tutorial<\/h2>\n<p>I am using <a href=\"https:\/\/www.jetbrains.com\/pycharm\/\" target=\"_blank\" rel=\"noopener\">JetBrains PyCharm<\/a> as my preferred IDE. You are free to choose the IDE of your choice.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-2-1-python-string-contains-tutorial\">2.1 Python String contains() Tutorial<\/h3>\n<p>Let us understand the different ways through programming.<\/p>\n<p><span style=\"text-decoration: underline;\"><em> Python String contains()<\/em><\/span><\/p>\n<pre class=\"wp-block-preformatted\"># python string contain() method tutorial\n# import statement\nimport operator\n# import statement\nfrom re import search\n# approach 1 - index()\ndef index(string, search_key):\n    try:\n        string.index(search_key)\n        print('Found.')\n    except ValueError:\n        print('Search key not found.')\n# approach 2 - find()\ndef find(string, search_key):\n    if string.find(search_key) != -1:\n        print('Found.')\n    else:\n        print('Search key not found.')\n# approach 3 - count()\ndef count(string, search_key_1, search_key_2):\n    x = string.count(search_key_1)\n    print('Is search key 1 = {} present in the given string = {}'.format(search_key_1, x))\n    y = string.count(search_key_2)\n    print('Is search key 2 = {} present in the given string = {}'.format(search_key_2, y))\n# approach 4 - replace()\ndef replace(string, old_word, new_word, no_of_occurrences):\n    z = string.replace(old_word, new_word, no_of_occurrences)\n    print('Replaced string = {}'.format(z))\n# approach 5 - in operator\ndef in_operator(string, search_key):\n    if search_key in string:\n        print('Found.')\n    else:\n        print('Search key not found.')\n# approach 6 - regex expression\ndef regex(string, search_key):\n    if search(search_key, string):\n        print('Found.')\n    else:\n        print('Search key not found.')\n# approach 7 - using operator module\ndef operator_mod(string, search_key):\n    if operator.contains(string, search_key):\n        print('Found.')\n    else:\n        print('Search key not found.')\n# main() method\ndef main():\n    string = 'What am I even tripping for? Everything\u2019s gonna work out exactly the way it\u2019s supposed to'\n    print('\\n--- Approach 1 ---\\n')\n    index(string, 'tripping')\n    print('\\n--- Approach 2 ---\\n')\n    find(string, 'supposed')\n    print('\\n--- Approach 3 ---\\n')\n    count(string, 'tripping', 'done')\n    print('\\n--- Approach 4 ---\\n')\n    no_of_occurrences = 1\n    replace(string, 'tripping', 'TRIPPING', no_of_occurrences)\n    print('\\n--- Approach 5 ---\\n')\n    in_operator(string, 'going')\n    print('\\n--- Approach 6 ---\\n')\n    regex(string, 'geek')\n    print('\\n--- Approach 7 ---\\n')\n    operator_mod(string, 'gonna')\n# driver code\nif __name__ == '__main__':\n    main()\n<\/pre>\n<p>If everything goes well the following output will be shown in the IDE console.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>Console Output<\/em><\/span><\/p>\n<pre class=\"wp-block-preformatted\">--- Approach 1 ---\nFound.\n--- Approach 2 ---\nFound.\n--- Approach 3 ---\nIs search key 1 = tripping present in the given string = 1\nIs search key 2 = done present in the given string = 0\n--- Approach 4 ---\nReplaced string = What am I even TRIPPING for? Everything\u2019s gonna work out exactly the way it\u2019s supposed to\n--- Approach 5 ---\nSearch key not found.\n--- Approach 6 ---\nSearch key not found.\n--- Approach 7 ---\nFound.\n<\/pre>\n<p>That is all for this tutorial and I hope the article served you with whatever you were looking for. Happy Learning and do not forget to share!<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-3-summary\">3. Summary<\/h2>\n<p>In this tutorial, we learned:<\/p>\n<ul class=\"wp-block-list\">\n<li>contains() method in python programming to find the presence of a substring in a string<\/li>\n<li>Sample program to understand the different use cases<\/li>\n<\/ul>\n<p>You can download the source code of this tutorial from the <a href=\"#projectDownload\">Downloads<\/a> section.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-4-download-the-project\"><a name=\"projectDownload\"><\/a>4. Download the Project<\/h2>\n<p>This was a python programming tutorial to understand the different use cases for finding the presence of a substring in a string.<\/p>\n<div class=\"download\"><strong>Download<\/strong><br \/>You can download the full source code of this example here: <a href=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/Python-String-contain-method-Tutorial.zip\" target=\"_blank\" rel=\"noopener\"><strong>Python String contains() method Tutorial<\/strong><\/a><\/div>\n<p><strong>Last updated on Mar. 2nd, 2022<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string contains a substring or not. A substring is the sequence of characters within a string. We will explore the below methods to check if a string contains another string or not. &hellip;<\/p>\n","protected":false},"author":119,"featured_media":99891,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46689],"tags":[1716],"class_list":["post-99880","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python String contains() method Tutorial - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python String contains() method Tutorial - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-08T13:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-02T12:30:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Yatin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yatin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/\"},\"author\":{\"name\":\"Yatin\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/9874407a37b028e8be3276e2b5960d13\"},\"headline\":\"Python String contains() method Tutorial\",\"datePublished\":\"2021-02-08T13:00:00+00:00\",\"dateModified\":\"2022-03-02T12:30:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/\"},\"wordCount\":543,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\",\"keywords\":[\"python\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/\",\"name\":\"Python String contains() method Tutorial - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\",\"datePublished\":\"2021-02-08T13:00:00+00:00\",\"dateModified\":\"2022-03-02T12:30:56+00:00\",\"description\":\"Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"set python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Development\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/web-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/web-development\/python\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Python String contains() method Tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/9874407a37b028e8be3276e2b5960d13\",\"name\":\"Yatin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2023\/09\/cropped-Yatin-Batra_avatar_1515758148-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2023\/09\/cropped-Yatin-Batra_avatar_1515758148-96x96.jpg\",\"caption\":\"Yatin\"},\"description\":\"An experience full-stack engineer well versed with Core Java, Spring\/Springboot, MVC, Security, AOP, Frontend (Angular &amp; React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).\",\"sameAs\":[\"https:\/\/www.javacodegeeks.com\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/yatin-batra\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python String contains() method Tutorial - Java Code Geeks","description":"Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string","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:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"Python String contains() method Tutorial - Java Code Geeks","og_description":"Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string","og_url":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2021-02-08T13:00:00+00:00","article_modified_time":"2022-03-02T12:30:56+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","type":"image\/jpeg"}],"author":"Yatin","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Yatin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/"},"author":{"name":"Yatin","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/9874407a37b028e8be3276e2b5960d13"},"headline":"Python String contains() method Tutorial","datePublished":"2021-02-08T13:00:00+00:00","dateModified":"2022-03-02T12:30:56+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/"},"wordCount":543,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","keywords":["python"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/","url":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/","name":"Python String contains() method Tutorial - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","datePublished":"2021-02-08T13:00:00+00:00","dateModified":"2022-03-02T12:30:56+00:00","description":"Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","width":150,"height":150,"caption":"set python"},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/python-string-contains-method-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Web Development","item":"https:\/\/examples.javacodegeeks.com\/category\/web-development\/"},{"@type":"ListItem","position":3,"name":"Python","item":"https:\/\/examples.javacodegeeks.com\/category\/web-development\/python\/"},{"@type":"ListItem","position":4,"name":"Python String contains() method Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/9874407a37b028e8be3276e2b5960d13","name":"Yatin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2023\/09\/cropped-Yatin-Batra_avatar_1515758148-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2023\/09\/cropped-Yatin-Batra_avatar_1515758148-96x96.jpg","caption":"Yatin"},"description":"An experience full-stack engineer well versed with Core Java, Spring\/Springboot, MVC, Security, AOP, Frontend (Angular &amp; React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).","sameAs":["https:\/\/www.javacodegeeks.com"],"url":"https:\/\/examples.javacodegeeks.com\/author\/yatin-batra\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/99880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/119"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=99880"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/99880\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/99891"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=99880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=99880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=99880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}